Skip to content

Commit a2a1828

Browse files
committed
Merge pull request #509 from starwed/fix-test
Fix global in test 'remove'
2 parents edbb558 + 9888dca commit a2a1828

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/core.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
destroyFlag = destroyed;
7979
}
8080
})
81-
e = Crafty.e("comp, blank");
81+
var e = Crafty.e("comp, blank");
8282
e.removeComponent("blank");
8383
strictEqual( removeRan, false, "Remove doesn't run on other component removal");
8484

0 commit comments

Comments
 (0)