UNPKG

showcase

Version:

Infrustucture for activecell's front-end libraries

32 lines (31 loc) 817 B
// numeral.js language configuration // language : portuguese brazil (pt-br) // author : Ramiro Varandas Jr : https://github.com/ramirovjr (function () { var language = { delimiters: { thousands: '.', decimal: ',' }, abbreviations: { thousand: 'mil', million: 'milhões', billion: 'b', trillion: 't' }, ordinal: function (number) { return 'º'; }, currency: { symbol: 'R$' } }; // Node if (typeof module !== 'undefined' && module.exports) { module.exports = language; } // Browser if (typeof window !== 'undefined' && this.numeral && this.numeral.language) { this.numeral.language('pt-br', language); } }());