removed global ?= window hack by actually giving tests a global

reference to global
This commit is contained in:
Michael Ficarra
2011-01-03 11:50:54 -05:00
parent 07ff3020cf
commit 0d3827989d
2 changed files with 3 additions and 1 deletions

View File

@@ -234,7 +234,6 @@ val = 5
ok (func --val) is 5
test "#855: execution context for `func arr...` should be `null`", ->
global ?= window
contextTest = -> eq @, global
array = []
contextTest array