{:uriI"îfile:///Users/johnomalley/Rails_Projects/Rails_4.1/hot_date_rails/app/assets/javascripts/hot_date_rails/hot_date_rails.js.coffee?type=application/javascript&pipeline=self&id=9aded8a683c2ced0c9233595d536c0f86bb2fe1844321fa51d87add7dabe9270:ET:load_pathI"V/Users/johnomalley/Rails_Projects/Rails_4.1/hot_date_rails/app/assets/javascripts;T: filenameI"~/Users/johnomalley/Rails_Projects/Rails_4.1/hot_date_rails/app/assets/javascripts/hot_date_rails/hot_date_rails.js.coffee;T: nameI""hot_date_rails/hot_date_rails;T:logical_pathI"*hot_date_rails/hot_date_rails.self.js;T:content_typeI"application/javascript;T: sourceI"¦(function() { var loadDatePicker, loadDatetimePicker, loadTimePicker, setDatePickerOptions, setPickerOptions; loadDatePicker = function() { return $("input.datepicker").each(function(i) { var defOpts; defOpts = { altFormat: "yy-mm-dd", altField: $(this).next(), changeYear: true, changeMonth: true }; return setDatePickerOptions(this, defOpts); }); }; loadTimePicker = function() { return $("input.timepicker").each(function(i) { var defOpts; defOpts = { timeOnly: true, altField: $(this).next(), altFieldTimeOnly: false, defaultValue: this.value }; return setPickerOptions(this, defOpts); }); }; loadDatetimePicker = function() { return $("input.datetimepicker").each(function(i) { var defOpts; defOpts = { altField: $(this).next(), altFieldTimeOnly: false, altFormat: "yy-mm-dd", altTimeFormat: "HH:mm" }; return setPickerOptions(this, defOpts); }); }; Window.bindHDPickers = function() { loadDatePicker(); loadTimePicker(); return loadDatetimePicker(); }; $(document).on('ready page:load', function() { return Window.bindHDPickers(); }); setPickerOptions = function(input, defOpts) { var allOpts, userOpts; userOpts = $(input).data(); allOpts = $.extend({}, defOpts, userOpts); return $(input).datetimepicker(allOpts); }; setDatePickerOptions = function(input, defOpts) { var allOpts, userOpts; userOpts = $(input).data(); allOpts = $.extend({}, defOpts, userOpts); return $(input).datepicker(allOpts); }; }).call(this); ;T: metadata{ :dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"‡file-digest:///Users/johnomalley/Rails_Projects/Rails_4.1/hot_date_rails/app/assets/javascripts/hot_date_rails/hot_date_rails.js.coffee;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%} ™Ö¯,Ë{´cj„½wsb:A 5æâí <˜': lengthi¦:dependencies_digest"%?iøžÔ ÎÆL:éN@ý_ì¹¼_ÃcW|ѧéø9!:idI"E9aded8a683c2ced0c9233595d536c0f86bb2fe1844321fa51d87add7dabe9270;F: mtimel+Â̬X