Sha256: 8e146bd075f063a5986f97db66bcd8adb03d17b22e4becb78a41ade53871555e

Contents?: true

Size: 629 Bytes

Versions: 36

Compression:

Stored size: 629 Bytes

Contents

# -*- coding: utf-8 -*-
#
# datepickr.rb - show jQuery UI datepicker
#
# Copyright (C) 2012, tamoot <tamoot+tdiary@gmail.com>
# You can redistribute it and/or modify it under GPL.
#

#
# not support
#
return if feed?

if /\A(?:form|preview|append|edit|update)\z/ =~ @mode
   enable_js('//ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js')
   if @conf.lang == 'ja'
      enable_js('//ajax.googleapis.com/ajax/libs/jqueryui/1/i18n/jquery.ui.datepicker-ja.min.js')
   end
   enable_js('datepicker.js')
end

# Local Variables:
# mode: ruby
# indent-tabs-mode: t
# tab-width: 3
# ruby-indent-level: 3
# End:
# vim: ts=3

Version data entries

36 entries across 31 versions & 2 rubygems

Version Path
tdiary-contrib-5.3.0 plugin/datepicker.rb
tdiary-contrib-5.2.4 plugin/datepicker.rb
tdiary-contrib-5.2.3 plugin/datepicker.rb
tdiary-contrib-5.2.2 plugin/datepicker.rb
tdiary-contrib-5.2.1 plugin/datepicker.rb
tdiary-contrib-5.2.0 plugin/datepicker.rb
tdiary-contrib-5.1.7 plugin/datepicker.rb
tdiary-contrib-5.1.6 plugin/datepicker.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/bundler/gems/tdiary-contrib-d1e41204db13/plugin/datepicker.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-contrib-5.1.4/plugin/datepicker.rb
tdiary-contrib-5.1.5 plugin/datepicker.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/tdiary-contrib-5.1.4/plugin/datepicker.rb
tdiary-contrib-5.1.4 plugin/datepicker.rb
tdiary-contrib-5.1.3 plugin/datepicker.rb
tdiary-contrib-5.1.2 plugin/datepicker.rb
tdiary-contrib-5.1.1 plugin/datepicker.rb
tdiary-contrib-5.1.0 plugin/datepicker.rb
tdiary-contrib-5.0.13 plugin/datepicker.rb
tdiary-contrib-5.0.12 plugin/datepicker.rb
tdiary-contrib-5.0.11 plugin/datepicker.rb