byCategory component small refactoring

This commit is contained in:
Edin Dazdarevic
2015-02-15 14:50:31 +01:00
parent e902b27986
commit f5254cd316
2 changed files with 56 additions and 67 deletions

View File

@@ -1,5 +1,6 @@
module.exports = {
ApiUrl: 'http://localhost:4567',
DefaultPageSize: 18,
FormatCurrency: function(amount_s) {
var amount = parseFloat(amount_s);
return ( amount.toFixed(2) + " KM" )