ember2 progress deprication smashing
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
App.CurrencyHelper = Ember.Helper.helper (params, options)->
|
||||
amount = params[0]
|
||||
amount = 0.0 if isNaN(amount) || amount== '' || amount == null
|
||||
new Handlebars.SafeString('€ ' + parseFloat(amount).toFixed(2))
|
||||
Reference in New Issue
Block a user