Home page Forum Wiki Mail Jabber Devel NIX-FILES

AltLUG Git

Git-repositories of Altai Linux User Group

Undo delete-globals-lint-fix, fails in IE6-8 (tests don't fully lint anyway, yet)
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 1 Oct 2012 10:40:00 +0000 (12:40 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 1 Oct 2012 10:40:00 +0000 (12:40 +0200)
test/test.js

index 3abef1f..2055d05 100644 (file)
@@ -58,13 +58,13 @@ module("setup/teardown test", {
        setup: function() {
                state = true;
                ok(true);
-               window.x = 1;
+               x = 1;
        },
        teardown: function() {
                ok(true);
                // can introduce and delete globals in setup/teardown
                // without noglobals sounding the alarm
-               delete window.x;
+               delete x;
        }
 });
 

Hosting is provided AltSPAHow to use Git
Please direct any questions on jabber alex.wolf@jabber.ru

Valid HTML 4.0 Transitional Valid CSS!

Designer Alexander Wolf