mirror of https://github.com/django/django.git
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-function-paren": [2, {"anonymous": "never", "named": "never"}],
|
||||
"space-infix-ops": [
|
||||
1,
|
||||
{"int32Hint": false}
|
||||
],
|
||||
"space-infix-ops": [2, {"int32Hint": false}],
|
||||
"strict": [1, "function"]
|
||||
},
|
||||
"env": {
|
||||
|
|
|
@ -112,8 +112,7 @@
|
|||
var updateElementCallback = function() {
|
||||
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);
|
||||
$(forms.get(i)).find("*").each(updateElementCallback);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue