Skip to content

Commit 7da9a38

Browse files
author
Steven Orvell
committed
fix lint errors
1 parent f2c1d4a commit 7da9a38

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎test/unit/styling-cross-scope-var.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@
603603
suite('scoped-styling-var', function() {
604604

605605
function assertComputed(element, value, pseudo, name) {
606-
var name = name || 'border-top-width';
606+
name = name || 'border-top-width';
607607
var computed = element.getComputedStyleValue && !pseudo ?
608608
element.getComputedStyleValue(name) :
609609
getComputedStyle(element, pseudo)[name];

‎test/unit/styling-remote.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
return reg.is;
204204
});
205205
function regIndex(styleScope) {
206-
for (var i=0; (r=regList[i]); i++) {
206+
for (var i=0, r; (r=regList[i]); i++) {
207207
if (styleScope.match(new RegExp(r + '\\-?\\d*$'))) {
208208
return i;
209209
}

‎test/unit/styling-scoped.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@
265265
return reg.is;
266266
});
267267
function regIndex(styleScope) {
268-
for (var i=0; (r=regList[i]); i++) {
268+
for (var i=0, r; (r=regList[i]); i++) {
269269
if (styleScope.match(new RegExp(r + '\\-?\\d*$'))) {
270270
return i;
271271
}

0 commit comments

Comments
 (0)