Sha256: abfd56ac206761199a61d05c3182dc01ecd177f834e47b74dd7ef5329dc6e7a7

Contents?: true

Size: 587 Bytes

Versions: 6

Compression:

Stored size: 587 Bytes

Contents

# encoding: UTF-8

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

module TwitterCldr
  module Js
    module Renderers
      class Bundle < Mustache
        self.template_path = File.expand_path(File.join(File.dirname(__FILE__), "..", "mustache"))
        self.template_file = File.join(self.template_path, "bundle.coffee")
        self.template_extension = "coffee"

        def version
          TwitterCldr::Js::VERSION
        end

        def is_rtl?
          TwitterCldr::Shared::Languages.is_rtl?(self[:locale])
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
twitter_cldr_js-2.2.4 lib/twitter_cldr/js/renderers/bundle.rb
twitter_cldr_js-2.2.3 lib/twitter_cldr/js/renderers/bundle.rb
twitter_cldr_js-2.2.2 lib/twitter_cldr/js/renderers/bundle.rb
twitter_cldr_js-2.2.0 lib/twitter_cldr/js/renderers/bundle.rb
twitter_cldr_js-2.1.0 lib/twitter_cldr/js/renderers/bundle.rb
twitter_cldr_js-2.0.0 lib/twitter_cldr/js/renderers/bundle.rb