Fixed JavaScript "space-infix-ops" violations.
This commit is contained in:
parent
ec6563f585
commit
efc144aba0
|
@ -36,10 +36,7 @@
|
||||||
],
|
],
|
||||||
"space-before-blocks": [2, "always"],
|
"space-before-blocks": [2, "always"],
|
||||||
"space-before-function-paren": [2, {"anonymous": "never", "named": "never"}],
|
"space-before-function-paren": [2, {"anonymous": "never", "named": "never"}],
|
||||||
"space-infix-ops": [
|
"space-infix-ops": [2, {"int32Hint": false}],
|
||||||
1,
|
|
||||||
{"int32Hint": false}
|
|
||||||
],
|
|
||||||
"strict": [1, "function"]
|
"strict": [1, "function"]
|
||||||
},
|
},
|
||||||
"env": {
|
"env": {
|
||||||
|
|
|
@ -112,8 +112,7 @@
|
||||||
var updateElementCallback = function() {
|
var updateElementCallback = function() {
|
||||||
updateElementIndex(this, options.prefix, i);
|
updateElementIndex(this, options.prefix, i);
|
||||||
};
|
};
|
||||||
for (i=0, formCount=forms.length; i<formCount; i++)
|
for (i = 0, formCount = forms.length; i < formCount; i++) {
|
||||||
{
|
|
||||||
updateElementIndex($(forms).get(i), options.prefix, i);
|
updateElementIndex($(forms).get(i), options.prefix, i);
|
||||||
$(forms.get(i)).find("*").each(updateElementCallback);
|
$(forms.get(i)).find("*").each(updateElementCallback);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue