lib/assets/javascripts/extensions.coffee in material_raingular-0.0.2.6.6 vs lib/assets/javascripts/extensions.coffee in material_raingular-0.0.2.6.7
- old
+ new
@@ -59,5 +59,9 @@
if equiv(item,newItem)
isDuplicate = true
break
newItems.push(item) if (!isDuplicate)
return newItems
+String.prototype.to_f = ->
+ return parseFloat(this)
+String.prototype.to_i = ->
+ return parseInt(this)