Sha256: 7ddfc69cc8615d6770e07599ecbb9f21f1443228d0821eddaa224b8f545324a5

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

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

class TwitterCldr.Languages

  @data: ->
    TwitterCldr.get_data()[@name]

  @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

1 entries across 1 versions & 1 rubygems

Version Path
twitter_cldr_js-3.1.0 lib/twitter_cldr/js/mustache/implementation/shared/languages.coffee