ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Casper​JS

by n1k0 ALL

A SublimeText2 bundle for CasperJS

Details

  • 2014.03.08.17.08.27
  • github.​com
  • github.​com
  • 11 years ago
  • 3 hours ago
  • 13 years ago

Installs

  • Total 2K
  • Win 864
  • Mac 864
  • Linux 404
Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

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