@@ -62,16 +62,15 @@ build = (callback) ->
6262 test_files = glob .sync path .join (test_dir, ' *.coffee' )
6363 commands .push " node_modules/.bin/coffee --output #{ out_dir} " +
6464 " --compile #{ test_files .join (' ' )} "
65- async .forEachSeries commands, run, ->
6665
66+ async .forEachSeries commands, run, ->
6767 # Build the binary test image.
6868 buffer = fs .readFileSync ' test/fixtures/xhr2.png'
6969 bytes = (buffer .readUInt8 (i) for i in [0 ... buffer .length ])
7070 globalJs = ' ((function(){ return this.global || this; })())'
7171 js = " #{ globalJs} .xhr2PngBytes = #{ JSON .stringify (bytes)} ;"
72- fs .writeFileSync ' test/js/helpers/xhr2.png.js' , js
73-
74- callback () if callback
72+ fs .writeFile ' test/js/helpers/xhr2.png.js' , js, ->
73+ callback () if callback
7574
7675webtest = (callback ) ->
7776 xhrServer = require ' ./test/js/helpers/xhr_server.js'
@@ -101,9 +100,9 @@ vendor = (callback) ->
101100
102101 downloads = [
103102 # chai.js ships different builds for browsers vs node.js
104- [' http ://chaijs.com/chai.js' , ' test/vendor/chai.js' ],
103+ [' https ://www. chaijs.com/chai.js' , ' test/vendor/chai.js' ],
105104 # sinon.js also ships special builds for browsers
106- [' http ://sinonjs.org/releases/sinon.js' , ' test/vendor/sinon.js' ],
105+ [' https ://sinonjs.org/releases/sinon.js' , ' test/vendor/sinon.js' ],
107106 ]
108107 async .forEachSeries downloads, download, ->
109108 callback () if callback
0 commit comments