Define |global| object in different way in tests

This commit is contained in:
David Majda 2010-08-18 20:59:03 +02:00
parent f787793848
commit b105c43756
2 changed files with 4 additions and 8 deletions

View file

@ -1,6 +1,4 @@
(function() { (function(global) {
var global = this;
/* ===== Helpers ===== */ /* ===== Helpers ===== */
@ -634,4 +632,4 @@ test("nested comments", function() {
); );
}); });
})(); })(this);

View file

@ -1,6 +1,4 @@
(function() { (function(global) {
var global = this;
/* ===== Helpers ===== */ /* ===== Helpers ===== */
@ -610,4 +608,4 @@ test("parses whitespace", function() {
grammarParserParses('start =\u3000"abcd"', simpleGrammar); grammarParserParses('start =\u3000"abcd"', simpleGrammar);
}); });
})(); })(this);