Sha256: b8a5da5040bcb8b9049c632f33cd42bcf48c3b725076873a45a61185f599212a
Contents?: true
Size: 1.08 KB
Versions: 3
Compression:
Stored size: 1.08 KB
Contents
### // Copyright 2012 Twitter, Inc // http://www.apache.org/licenses/LICENSE-2.0 // TwitterCLDR (JavaScript) v{{version}} // Authors: Cameron Dutro [@camertron] Kirill Lashuk [@KL_7] portions by Sven Fuchs [@svenfuchs] // Homepage: https://twitter.com // Description: Provides date, time, number, and list formatting functionality for various Twitter-supported locales in Javascript. ### {{#source_map}} ### //@ sourceMappingURL={{locale}}.map ### {{/source_map}} # required alias definition that adds twitter_cldr to Twitter's static build process ###<<module_def>>### TwitterCldr = {} {{> utilities}} {{{contents}}} TwitterCldr.set_data = (bundle) -> TwitterCldr.data = bundle null TwitterCldr.get_data = -> if (TwitterCldr.data)? TwitterCldr.data else throw 'Data not set' TwitterCldr.is_data_set = -> return (TwitterCldr.data)? root = if exports? exports else this.TwitterCldr = {} this.TwitterCldr root[key] = obj for key, obj of TwitterCldr if this.TwitterCldrDataBundle? TwitterCldr.set_data(this.TwitterCldrDataBundle)
Version data entries
3 entries across 3 versions & 1 rubygems