Sha256: 636082f9fd971b867aaa3fed81c5afd996bc4aa30b1b4612c876222dfcf8c948
Contents?: true
Size: 603 Bytes
Versions: 3
Compression:
Stored size: 603 Bytes
Contents
//= require jquery-ui-timepicker-addon //= require jquery-ui-sliderAccess $(function() { var fns = ["datetimepicker", "datepicker", "timepicker"]; for (i=0; i<fns.length; i++) { var fn = fns[i]; $("." + fn).each(function() { var picker = $(this); var options = $.parseJSON(picker.attr("data-options")); var locale = picker.attr("data-locale"); if (locale != "en") { $.datepicker.setDefaults($.datepicker.regional[locale]); $.timepicker.setDefaults($.timepicker.regional[locale]); } picker[fn](options); }); } });
Version data entries
3 entries across 3 versions & 1 rubygems