Sha256: 717fa5010393cca9991b619232088769087623fd832abd537c2216f50b5e0640

Contents?: true

Size: 468 Bytes

Versions: 4

Compression:

Stored size: 468 Bytes

Contents

# encoding: UTF-8

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

module TwitterCldr
  module Js
    module Renderers
      module Shared
        class CalendarRenderer < TwitterCldr::Js::Renderers::Base
          set_template "mustache/shared/calendar.coffee"

          def calendar
            TwitterCldr::DataReaders::CalendarDataReader.new(@locale).calendar.calendar_data.to_json
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
twitter_cldr_js-2.4.0 lib/twitter_cldr/js/renderers/shared/calendar_renderer.rb
twitter_cldr_js-2.3.2 lib/twitter_cldr/js/renderers/shared/calendar_renderer.rb
twitter_cldr_js-2.3.1 lib/twitter_cldr/js/renderers/shared/calendar_renderer.rb
twitter_cldr_js-2.3.0 lib/twitter_cldr/js/renderers/shared/calendar_renderer.rb