• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

language-handlebars

A conversion of a [TextMate Handlebars package](https://github.com/drnic/Handlebars.tmbundle) for Atom
alexlafroscia
0.2.0 1,729
13
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

language-handlebars package

Originally a conversion of drnic's handlebars.tmbundle for the Atom editor

Snippets

The package comes with some built-in snippets to help you work more quickly in Handlebars. Feel free to submit issues or pull requests with suggestions for more

Generic Snippets

bindAttr: ba

{{bindAttr ${1:class}=${2:"${3:isSelected}"}}}

checkbox: chb

{{view SC.Checkbox title="Title" class="class"
  valueBinding="App.controller.property"}}

collection: coll

{{#collection SC.TemplateCollectionView contentBinding="App.arrayListController"}}
 
{{/collection}}

content.field: c

{{content.${1:field}}}

if...end: if

{{#if condition}}
 
{{/if}}

if...else...end: ife

{{#if condition}}
 
{{else}}
 
{{/if}}

unless: unl

{{#unless condition}}
 
{{/unless}}

view: view

{{#view SC.TemplateView}}
 
{{/view}}

Ember Snippets

I've also added some snippets that are particularly helpful for people working with Ember.JS

ember-action: ema

{{action 'name'}}

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by