ember2 progress deprication smashing
This commit is contained in:
@@ -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>")
|
||||
|
||||
Reference in New Issue
Block a user