Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7ace77a

Browse files
hzoopetebacondarwin
authored andcommitted
style(*): add jscs rule requireSpacesInForStatement
Closes angular#10772
1 parent 7f362af commit 7ace77a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.jscs.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"afterConsequent": true,
3636
"beforeAlternate": true
3737
},
38+
"requireSpacesInForStatement": true,
3839
"requireSpacesInFunction": {
3940
"beforeOpeningCurlyBrace": true
4041
},

src/ngScenario/Scenario.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ _jQuery.fn.bindings = function(windowJquery, bindExp) {
304304
var element = windowJquery(this),
305305
bindings;
306306
if (bindings = element.data('$binding')) {
307-
for (var expressions = [], binding, j=0, jj=bindings.length; j < jj; j++) {
307+
for (var expressions = [], binding, j=0, jj=bindings.length; j < jj; j++) {
308308
binding = bindings[j];
309309

310310
if (binding.expressions) {

0 commit comments

Comments
 (0)