Sha256: e6f2a656d179055e23999bad8d8d9b26003a69071f94350b155094c2df38d215

Contents?: true

Size: 335 Bytes

Versions: 3

Compression:

Stored size: 335 Bytes

Contents

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

class TwitterCldr.Languages

  @data: ->
    TwitterCldr.get_data().Languages

  @all: ->
  	@data().all

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
twitter_cldr_js-3.3.0 lib/twitter_cldr/js/mustache/implementation/shared/languages.coffee
twitter_cldr_js-3.2.0 lib/twitter_cldr/js/mustache/implementation/shared/languages.coffee
twitter_cldr_js-3.1.1 lib/twitter_cldr/js/mustache/implementation/shared/languages.coffee