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

Flight JS Snippets

by cameronhunter ST2/ST3

Flight JS Snippets for Sublime Text

Labels snippets

Details

  • 0.6.2
  • github.​com
  • 3 years ago
  • 2 hours ago
  • 4 years ago

Installs

  • Total 241
  • Win 131
  • OS X 85
  • Linux 25
Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31
Windows 0 0 0 0 0 0 0 0 0 1 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 2 0 0 0 0 0 0 0 0
OS X 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 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

Flight JS Snippets for Sublime Text

These are Flight JS snippets for use with Sublime Text.

Installation

Install using Package Control, it's called Flight JS Snippets.

How to install

Usage

Tab triggers exist for all of the snippets, you can also list the available snippets using ⌘-⇧-P on OSX or ctrl-shift-P on Windows/Linux and searching for Flight.

Use tab to move between the placeholders.

How to create a component

  • Component and Mixin API (tab trigger: flight)
    • Component (AMD)
    • Component (CommonJS)
    • Component (Standalone)
    • Mixin (AMD)
    • Mixin (CommonJS)
  • Test API
    • describeComponent
    • describeMixin

Completions

  • Component API
    • attachTo
  • Advice API
    • this.before
    • this.after
    • this.around
  • Base API
    • this.attributes
    • this.select
    • this.on
    • this.off
    • this.trigger