0.6.3 • Published 8 years ago

flight-js-snippets v0.6.3

Weekly downloads
3
License
-
Repository
-
Last release
8 years ago

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