ember2 progress deprication smashing

This commit is contained in:
2015-08-26 19:56:44 +02:00
parent 39a21ec705
commit bb22dffef2
48 changed files with 139 additions and 146 deletions
@@ -1,3 +1,4 @@
Ember.Handlebars.registerBoundHelper 'state', (subject, state, options={})->
App.StateHelper = Ember.Helper.helper (params, options)->
[subject, state] = params
path = "state.#{subject}.#{state}"
new Handlebars.SafeString("<span data-t=\"#{path}\">#{t(path)}</span>")