flight-js-snippets

0.6.3 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i flight-js-snippets

Weekly Downloads

1

Version

0.6.3

License

none

Last publish

Collaborators

  • cameronhunter