mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
removed global ?= window hack by actually giving tests a global
reference to global
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user