Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Feb 13, 2016
1 parent f2c1d4a commit 7da9a38
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/unit/styling-cross-scope-var.html
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@
suite('scoped-styling-var', function() {

function assertComputed(element, value, pseudo, name) {
var name = name || 'border-top-width';
name = name || 'border-top-width';
var computed = element.getComputedStyleValue && !pseudo ?
element.getComputedStyleValue(name) :
getComputedStyle(element, pseudo)[name];
Expand Down
2 changes: 1 addition & 1 deletion test/unit/styling-remote.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
return reg.is;
});
function regIndex(styleScope) {
for (var i=0; (r=regList[i]); i++) {
for (var i=0, r; (r=regList[i]); i++) {
if (styleScope.match(new RegExp(r + '\\-?\\d*$'))) {
return i;
}
Expand Down
2 changes: 1 addition & 1 deletion test/unit/styling-scoped.html
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@
return reg.is;
});
function regIndex(styleScope) {
for (var i=0; (r=regList[i]); i++) {
for (var i=0, r; (r=regList[i]); i++) {
if (styleScope.match(new RegExp(r + '\\-?\\d*$'))) {
return i;
}
Expand Down

0 comments on commit 7da9a38

Please sign in to comment.