Skip to content
This repository was archived by the owner on Nov 18, 2017. It is now read-only.

cameronhunter/flight-js-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Flight JS Snippets for Sublime Text

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •