Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Correct test to work with native HTMLImports.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Apr 17, 2014
1 parent 8e8b87a commit 327aa5b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/html/property-changes.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@
</template>
<script>
(function() {
var changes = 0;
var doneChanges = 2;
function checkDone() {
if (doneChanges == ++changes) {
done();
}
}

Polymer('x-test', {
bar: '',
ready: function() {
Expand All @@ -32,14 +40,6 @@
checkDone();
}
});

changes = 0;
doneChanges = 2;
function checkDone() {
if (doneChanges == ++changes) {
done();
}
}
})();
</script>
</polymer-element>
Expand Down

0 comments on commit 327aa5b

Please sign in to comment.