Sha256: 1cf43dc5f79cbe6e7c183aef9deb5a0f884a961902a5a78cb48fe557ae3589b8
Contents?: true
Size: 1.72 KB
Versions: 2
Compression:
Stored size: 1.72 KB
Contents
{I" class:ETI"BundledAsset; FI"logical_path; TI"%hot_date_rails/hot_date_rails.js; FI" pathname; TI"~/Users/johnomalley/Rails_Projects/Rails_4.1/hot_date_rails/app/assets/javascripts/hot_date_rails/hot_date_rails.js.coffee; FI"content_type; TI"application/javascript; TI" mtime; Tl+—TI"length; TiÛI"digest; TI"%b966feaf450ab0646781935912ddc907; FI"source; TI"Û(function() { $(document).on('ready page:load', function() { return $("input.datepicker").each(function(i) { return $(this).datepicker({ altFormat: "yy-mm-dd", dateFormat: this.getAttribute("data-date-format"), altField: $(this).next(), changeYear: true, changeMonth: true }); }); }); $(document).on('ready page:load', function() { return $("input.datetimepicker").each(function(i) { return $(this).datetimepicker({ altField: $(this).next(), altFieldTimeOnly: false, altFormat: "yy-mm-dd", altTimeFormat: "HH:mm", dateFormat: "mm/dd/yy", timeFormat: "HH:mm" }); }); }); $(document).on('ready page:load', function() { return $("input.timepicker").each(function(i) { return $(this).datetimepicker({ altField: $(this).next(), altFieldTimeOnly: false, timeFormat: this.getAttribute("data-time-format"), timeOnly: true, hourGrid: this.getAttribute("data-hour-grid"), minuteGrid: this.getAttribute("data-minute-grid"), secondGrid: this.getAttribute("data-second-grid"), defaultValue: this.value }); }); }); }).call(this); ; TI"required_assets_digest; TI"%c9aafb7881922a2c2816a52f4e9e788a; FI" _version; TI"%134d714864361d96664b8e1779275370; F
Version data entries
2 entries across 2 versions & 1 rubygems