A collection of CasperJS snippets bundled for SublimeText2.
More feature may be added in the future (or not).
cspc
: Create a new Casper instancecspcd
: Create a new Casper instance with debug mode enabledcspe
:throw new CasperError("<message>");
cspeach
:Casper.each()
cspeval
:Casper.evaluate()
cspfill
:Casper.fill()
cspon
: event listenercspscript
: a basic casperjs scriptcspstart
:Casper.start()
csptest
: a basic casperjs test scriptcspthen
:Casper.then()
csptheno
:Casper.thenOpen()
cjsh
: JSHint directives for standard casper scriptcjsht
: JSHint directives for test casper scriptreq
:require()
MIT