spec/dummy/tmp/cache/assets/D48/370/sprockets%2Fb654fd37f9f63ec202a3636e29b94ef0 in iugusdk-1.0.0.alpha.7 vs spec/dummy/tmp/cache/assets/D48/370/sprockets%2Fb654fd37f9f63ec202a3636e29b94ef0 in iugusdk-1.0.0.alpha.9

- old
+ new

@@ -1,8 +1,8 @@ -o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1356960444.5766611è: @value",{I" +o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1357237369.3824918z¿: @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"2012-12-31T09:53:03-02:00;FI" length;Fi¤I" digest;F"%467acf048a3506baf74c520b70a89343I" source;FI"¤(function() { +mtime;FI"2013-01-03T16:22:47-02:00;FI" length;Fi\ I" digest;F"%9c5473eb449669fdf578a91955f3161cI" source;FI"\ (function() { this.configure_ui_action = function(button, callback) { if (callback == null) { callback = null; } @@ -39,17 +39,49 @@ $(function() { $(".button").each(function(el) { return configure_ui_button(this); }); - return $("#slider").slider({ + $("#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('<span>' + selector_label + '</span>'); + 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"%089430290e530282589edbee5de6e9c4I"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"2012-12-31T09:53:03-02:00;FI" digest;F"%43bd2373ec33cea983735aed7ecb279aI" _version;F"%6776f581a4329e299531e1d52aa59832 +;TI"dependency_digest;F"%11916f85655842444fbb5656875df23cI"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-03T16:22:47-02:00;FI" digest;F"%74c073f0271d6366030782bc9f057b61I" _version;F"%6776f581a4329e299531e1d52aa59832 \ No newline at end of file