Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove the window hack in test:browser.

  • Loading branch information...
commit 5236bb279d2b5c9eed7e92276527b40d5d541301 1 parent f360fba
Sam Stephenson authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 Cakefile
7 Cakefile
View
@@ -129,7 +129,6 @@ task 'test', 'run the CoffeeScript language test suite', ->
task 'test:browser', 'run the test suite against the merged browser script', ->
source = fs.readFileSync 'extras/coffee-script.js', 'utf-8'
- window = addEventListener: ->
- window.window = window
- (-> eval source).call window
- runTests window.CoffeeScript
+ result = {}
+ (-> eval source).call result
+ runTests result.CoffeeScript
Please sign in to comment.
Something went wrong with that request. Please try again.