o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1357760297.3069959¥Ò: @value"ñ {I" class:EFI"ProcessedAsset;FI"logical_path;FI"'iugu-ux/components/iugu-ux-main.js;FI" pathname;FI"t/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/iugu-ux-main.js.coffee;FI"content_type;FI"application/javascript;FI" mtime;FI"2013-01-09T10:01:30-02:00;FI" length;Fii I" digest;F"%8937a3537c976000cd6b2e5110fd40dfI" source;FI"i (function() { this.configure_ui_action = function(button, callback, disable_click) { if (callback == null) { callback = null; } if (disable_click == null) { disable_click = false; } button = $(button); if (button.data) { if (button.data('iugu-ui-button-configured')) { return; } } button.data('iugu-ui-buttin-configured', true); if (window.IS_MOBILE) { button.on('touchstart', function(evt) { return $(this).addClass('active'); }); button.on('touchend', function(evt) { $(this).removeClass('active'); if (callback) { return callback(evt); } }); } else { button.on('mousedown', function(evt) { return $(this).addClass('active'); }); button.on('mouseup', function(evt) { $(this).removeClass('active'); if (callback) { return callback(evt); } }); } if (disable_click) { return button.on('click', function(evt) { return evt.preventDefault(); }); } }; this.configure_ui_button = function(button) { debug("Configuring UI Button"); return configure_ui_action(button, function() { return debug("CLICKED OK"); }); }; $(function() { $("#slider").slider({ orientation: "vertical", range: true, min: 0, max: 500, values: [75, 300] }); return $("[data-selector]").each(function(evt) { var component, elph, newdiv, selector_label, selector_type; console.log($(this).data('selector')); elph = $(this); selector_type = elph.data('selector'); selector_label = elph.data('label'); console.log(selector_label); if (selector_type === 'date') { console.log("A date selector has been found!"); component = $(this).mobiscroll().date({ label: selector_label, theme: 'ui-selector date', display: 'inline', mode: 'scroller', inputClass: "ui-selector-input-hidden" }); console.log("OK"); newdiv = $(document.createElement('div')); newdiv.html('' + selector_label + ''); newdiv.addClass("ui-selector-floating-title"); return newdiv.insertAfter(elph); } else if (selector_type === 'select') { console.log("A selector has been found!"); return $(this).mobiscroll().select({ label: selector_label, theme: "ui-selector", display: "inline", mode: "scroller", inputClass: "ui-selector-input-hidden" }); } }); }); }).call(this); ;TI"dependency_digest;F"%9082ebccfdf0a8aeda50a01c60faf9b6I"required_paths;F[I"t/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/iugu-ux-main.js.coffee;FI"dependency_paths;F[{I" path;FI"t/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/iugu-ux-main.js.coffee;FI" mtime;FI"2013-01-09T10:01:30-02:00;FI" digest;F"%cf7dd6813a92a8ba4ea4e03c582f9685I" _version;F"%9f3b95dd7ea3030dc35985c0a8020862