Commit 3d09d3cc 3d09d3ccf261c7aae81f014b4fc25e36fc8c2b2b by Mickaël Andrieu

Merge pull request #798 from renan/patch-1

Fix CoffeeScript example code
2 parents d7d1d38c 2425295f
...@@ -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 = require('casper').create() 141 casper = new require("casper").Casper
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
......