Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove the window hack in test:browser.

  • Loading branch information...
commit 5236bb279d2b5c9eed7e92276527b40d5d541301 1 parent f360fba
Sam Stephenson authored

Showing 1 changed file with 3 additions and 4 deletions. Show diff stats Hide diff stats

  1. +3 4 Cakefile
7 Cakefile
@@ -129,7 +129,6 @@ task 'test', 'run the CoffeeScript language test suite', ->
129 129
130 130 task 'test:browser', 'run the test suite against the merged browser script', ->
131 131 source = fs.readFileSync 'extras/coffee-script.js', 'utf-8'
132   - window = addEventListener: ->
133   - window.window = window
134   - (-> eval source).call window
135   - runTests window.CoffeeScript
  132 + result = {}
  133 + (-> eval source).call result
  134 + runTests result.CoffeeScript

0 comments on commit 5236bb2

Please sign in to comment.
Something went wrong with that request. Please try again.