We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 254309d commit 519e119Copy full SHA for 519e119
src/templates/.eslintrc
@@ -8,6 +8,7 @@
8
},
9
"rules": {
10
"no-unused-vars": "off",
11
- "no-var": "off"
+ "no-var": "off",
12
+ "no-plusplus": "off"
13
}
14
src/templates/prelude.js
@@ -1,9 +1,9 @@
1
-const VARIABLE = (function (context) {
2
- const locations = JSON.parse(LOCATIONS);
+var VARIABLE = (function (context) {
+ var locations = JSON.parse(LOCATIONS);
3
context[NAMESPACE] = context[NAMESPACE] || {};
4
context[NAMESPACE][FILEPATH] = locations;
5
return function (id, value) {
6
- locations[id][0] += 1;
+ locations[id][0]++;
7
return value;
};
})(
0 commit comments