Sha256: 7251980232e76403f06080e971880b4016145e6e7cb218425eef96565eac4ff3

Contents?: true

Size: 987 Bytes

Versions: 16

Compression:

Stored size: 987 Bytes

Contents

/*! 
 * numeral.js language configuration
 * language : english united kingdom (uk)
 * author : Dan Ristic : https://github.com/dristic
 */
(function () {
    var language = {
        delimiters: {
            thousands: ',',
            decimal: '.'
        },
        abbreviations: {
            thousand: 'k',
            million: 'm',
            billion: 'b',
            trillion: 't'
        },
        ordinal: function (number) {
            var b = number % 10;
            return (~~ (number % 100 / 10) === 1) ? 'th' :
                (b === 1) ? 'st' :
                (b === 2) ? 'nd' :
                (b === 3) ? 'rd' : 'th';
        },
        currency: {
            symbol: '£'
        }
    };

    // Node
    if (typeof module !== 'undefined' && module.exports) {
        module.exports = language;
    }
    // Browser
    if (typeof window !== 'undefined' && this.numeral && this.numeral.language) {
        this.numeral.language('en-gb', language);
    }
}());

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
dune-dashboard-1.1.5 vendor/assets/components/numeral/languages/en-gb.js
dune-dashboard-1.1.4 vendor/assets/components/numeral/languages/en-gb.js
dune-dashboard-1.1.3 vendor/assets/components/numeral/languages/en-gb.js
dune-dashboard-1.1.2 vendor/assets/components/numeral/languages/en-gb.js
dune-dashboard-1.1.1 vendor/assets/components/numeral/languages/en-gb.js
dune-dashboard-1.1.0 vendor/assets/components/numeral/languages/en-gb.js
dune-dashboard-1.0.9 vendor/assets/components/numeral/languages/en-gb.js
dune-dashboard-1.0.8 vendor/assets/components/numeral/languages/en-gb.js
dune-dashboard-1.0.7 vendor/assets/components/numeral/languages/en-gb.js
dune-dashboard-1.0.6 vendor/assets/components/numeral/languages/en-gb.js
dune-dashboard-1.0.5 vendor/assets/components/numeral/languages/en-gb.js
dune-dashboard-1.0.4 vendor/assets/components/numeral/languages/en-gb.js
dune-dashboard-1.0.3 vendor/assets/components/numeral/languages/en-gb.js
dune-dashboard-1.0.2 vendor/assets/components/numeral/languages/en-gb.js
dune-dashboard-1.0.1 vendor/assets/components/numeral/languages/en-gb.js
dune-dashboard-1.0.0 vendor/assets/components/numeral/languages/en-gb.js