Sha256: 5efd98df17bfb9c284ffd4a4efb265623c056d9748dc8e511d2b9df82d8aa6c6

Contents?: true

Size: 308 Bytes

Versions: 4

Compression:

Stored size: 308 Bytes

Contents

# Copyright 2012 Twitter, Inc
# http://www.apache.org/licenses/LICENSE-2.0

class TwitterCldr.Languages
  
  @all = `{{{language_data}}}`

  rtl_data = `{{{rtl_data}}}`

  @from_code: (code) ->
    @all[code] or null

  @is_rtl: (locale) ->
    result = rtl_data[locale]
    if result? then result else null

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
twitter_cldr_js-2.4.0 lib/twitter_cldr/js/mustache/shared/languages.coffee
twitter_cldr_js-2.3.2 lib/twitter_cldr/js/mustache/shared/languages.coffee
twitter_cldr_js-2.3.1 lib/twitter_cldr/js/mustache/shared/languages.coffee
twitter_cldr_js-2.3.0 lib/twitter_cldr/js/mustache/shared/languages.coffee