Sha256: aef6edc18c5538ad10d543c346e20fe664da4173f3e81e30ca0def0d8f53cc9e
Contents?: true
Size: 649 Bytes
Versions: 2
Compression:
Stored size: 649 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? || @conf.mobile_agent? if /\A(?:form|preview|append|edit|update)\z/ =~ @mode enable_js('//ajax.googleapis.com/ajax/libs/jqueryui/1.8/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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tdiary-contrib-4.1.3 | plugin/datepicker.rb |
tdiary-contrib-4.1.2 | plugin/datepicker.rb |