Skip to content

Commit 0c85340

Browse files
committed
Fix lint errors.
1 parent 09fa985 commit 0c85340

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

test/unit/path-effects-elements.js

+3-7
Original file line numberDiff line numberDiff line change
@@ -346,9 +346,7 @@ Polymer({
346346
],
347347

348348
created() {
349-
this.propChanged = sinon.spy(function() {
350-
this.debug = true;
351-
});
349+
this.propChanged = sinon.spy();
352350
},
353351

354352
computeProp(trigger, value) {
@@ -382,16 +380,14 @@ Polymer({
382380
],
383381

384382
created() {
385-
this.arrayChanged = sinon.spy(function() {
386-
this.debug = true;
387-
});
383+
this.arrayChanged = sinon.spy();
388384
},
389385

390386
changeArray() {
391387
if (this.array.length === 0) {
392388
this.push('array', 'one');
393389
} else if (this.array.length === 1) {
394-
this.push('array', 'two')
390+
this.push('array', 'two');
395391
}
396392
}
397393

test/unit/path-effects.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@
360360
let c = {}, b = {c}, a = {b};
361361
el.a = a;
362362
el.resetObservers();
363-
c = {},
363+
c = {};
364364
b = {c};
365365
el.set('a.b', b);
366366
assert.equal(el.aChanged.callCount, 1);
@@ -377,7 +377,7 @@
377377
let c = {}, b = {c}, a = {b};
378378
el.a = a;
379379
el.resetObservers();
380-
c = {},
380+
c = {};
381381
el.set('a.b.c', c);
382382
assert.equal(el.aChanged.callCount, 1);
383383
assert.deepEqual(el.aChanged.firstCall.args[0], {path: 'a.b.c', base: a, value: c});

0 commit comments

Comments
 (0)