Skip to content

Commit

Permalink
Fix lint errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Mar 1, 2016
1 parent 02660c1 commit 44d06f1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/unit/dom-bind-yield.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,14 @@
<script>
if (window.Polymer) {
var now = Date.now() + 1000;
while (Date.now() < now) {}
while (Date.now() < now) {
Math.random();
}
}
</script>

<script>
domBind.fired = function() {
window.domBind.fired = function() {
this.didFire = true;
}
</script>
Expand All @@ -52,7 +54,7 @@
suite('bind stamps after page fully loads (despite yielding)', function() {

test('event handled', function() {
assert.isTrue(domBind.didFire);
assert.isTrue(window.domBind.didFire);
});

});
Expand Down

0 comments on commit 44d06f1

Please sign in to comment.