Commit 4d94b84a 4d94b84a3c2ce78b95a5464f7044cab5464a742d by Nicolas Perriault

Revert "Fix CoffeeScript example code"

This reverts commit 2425295f.
1 parent 3d09d3cc
...@@ -138,7 +138,7 @@ You can also write Casper scripts using the `CoffeeScript syntax <http://jashken ...@@ -138,7 +138,7 @@ You can also write Casper scripts using the `CoffeeScript syntax <http://jashken
138 Array::map.call links, (e) -> e.getAttribute "href" 138 Array::map.call links, (e) -> e.getAttribute "href"
139 139
140 links = [] 140 links = []
141 casper = new require("casper").Casper 141 casper = require('casper').create()
142 142
143 casper.start "http://google.fr/", -> 143 casper.start "http://google.fr/", ->
144 # search for 'casperjs' from google form 144 # search for 'casperjs' from google form
......