n1k0 / SublimeText-CasperJS

A SublimeText2 bundle for CasperJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SublimeText-CasperJS

A collection of CasperJS snippets bundled for SublimeText2 or SublimeText3.

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()
  • cspfills: Casper.fillSelectors()
  • cspfillx: Casper.fillXPath()
  • 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

About

A SublimeText2 bundle for CasperJS