Sha256: c7b6118e700ee1eb0263a773e13e16b5b11158a274273ac8e91e28a96731c522
Contents?: true
Size: 660 Bytes
Versions: 6
Compression:
Stored size: 660 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('http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js') if @conf.lang == 'ja' enable_js('http://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
6 entries across 6 versions & 1 rubygems