SublimeText-CasperJS

A collection of CasperJS snippets bundled for SublimeText2.

More feature may be added in the future (or not).

Available snippets

  • cspc: Create a new Casper instance
  • cspcd: Create a new Casper instance with debug mode enabled
  • cspe: throw new CasperError("<message>");
  • cspeach: Casper.each()
  • cspeval: Casper.evaluate()
  • cspfill: Casper.fill()
  • cspon: event listener
  • cspscript: a basic casperjs script
  • cspstart: Casper.start()
  • csptest: a basic casperjs test script
  • cspthen: Casper.then()
  • csptheno: Casper.thenOpen()
  • cjsh: JSHint directives for standard casper script
  • cjsht: JSHint directives for test casper script
  • req: require()

License

MIT