/ember-yasnippets.el

yasnippets for embacs (ember emacs)

Primary LanguageEmacs LispMIT LicenseMIT

ember-yasnippets

yasnippets for embacs (ember emacs)

This is a package of snippets for ember.js development in both js-mode and coffee-mode.

SNIPPETS

Data

attr          --> Ember Data Attribute
belongs       --> Ember Data belongsTo
hasmany       --> Ember Data hasMany

Functions

find          --> Ember Find
find-id       --> Ember Find by id
logger-debug  --> Ember Logger Debug
run           --> Ember Run
runonce       --> Ember Run Once

Properties

actions       --> Ember Actions
alias         --> Ember Computed Alias
observer      --> Ember Observer
on            --> Ember Event
prop          --> Ember Computed Property
reads         --> Ember Computed reads

TEST Helpers

cl            --> Ember click
path          --> Ember currentPath
rn            --> Ember currentRouteName
url           --> currentURL
fill          --> Ember fillIn
find          --> find
key           --> Ember keyEvent
trig          --> Ember triggerEvent
vi            --> Ember visit
and           --> Ember andThen