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
Array::map.call links, (e) -> e.getAttribute "href"
links = []
casper = require('casper').create()
casper = new require("casper").Casper
casper.start "http://google.fr/", ->
# search for 'casperjs' from google form
......