vendor/assets/javascripts/uikit/components/timepicker.js in uikit2-rails-0.1.9 vs vendor/assets/javascripts/uikit/components/timepicker.js in uikit2-rails-0.1.10
- old
+ new
@@ -1,16 +1,16 @@
-/*! UIkit 2.26.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
+/*! UIkit 2.27.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
(function(addon) {
var component;
if (window.UIkit) {
component = addon(UIkit);
}
- if (typeof define == "function" && define.amd) {
- define("uikit-timepicker", ["uikit"], function(){
+ if (typeof define == 'function' && define.amd) {
+ define('uikit-timepicker', ['uikit'], function(){
return component || addon(UIkit);
});
}
})(function(UI){
@@ -28,15 +28,15 @@
},
boot: function() {
// init code
- UI.$html.on("focus.timepicker.uikit", "[data-uk-timepicker]", function(e) {
+ UI.$html.on('focus.timepicker.uikit', '[data-uk-timepicker]', function(e) {
var ele = UI.$(this);
- if (!ele.data("timepicker")) {
- var obj = UI.timepicker(ele, UI.Utils.options(ele.attr("data-uk-timepicker")));
+ if (!ele.data('timepicker')) {
+ var obj = UI.timepicker(ele, UI.Utils.options(ele.attr('data-uk-timepicker')));
setTimeout(function(){
obj.autocomplete.input.focus();
}, 40);
}