Sha256: 4ac215a5a75ae2c6a0f8b74a8aff4319e0202a04e8f1b149fd4fad923ae7699a

Contents?: true

Size: 363 Bytes

Versions: 10

Compression:

Stored size: 363 Bytes

Contents

#= require moment
#= require moment/zh-cn
#= require tao/ui
#= require tao/ui/icons/form
#= require_self
#= require ./element
#= require ./fields

Tao.Form =
  Mixins: {}

Tao.Application.initializer 'moment', (app) ->
  if moment? && app.locale
    moment.locale(app.locale.toLowerCase())

  if moment?.tz? && app.timeZone
    moment.tz.setDefault(app.timeZone)

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tao_form-0.1.9 lib/assets/javascripts/tao/form/index.coffee
tao_form-0.1.8 lib/assets/javascripts/tao/form/index.coffee
tao_form-0.1.7 lib/assets/javascripts/tao/form/index.coffee
tao_form-0.1.6 lib/assets/javascripts/tao/form/index.coffee
tao_form-0.1.5 lib/assets/javascripts/tao/form/index.coffee
tao_form-0.1.4 lib/assets/javascripts/tao/form/index.coffee
tao_form-0.1.3 lib/assets/javascripts/tao/form/index.coffee
tao_form-0.1.2 lib/assets/javascripts/tao/form/index.coffee
tao_form-0.1.1 lib/assets/javascripts/tao/form/index.coffee
tao_form-0.1.0 lib/assets/javascripts/tao/form/index.coffee