spec/dummy/tmp/cache/assets/D5C/200/sprockets%2Fcd323e6f7545cee0b3ba1e84d7520b00 in iugusdk-1.0.0.alpha.7 vs spec/dummy/tmp/cache/assets/D5C/200/sprockets%2Fcd323e6f7545cee0b3ba1e84d7520b00 in iugusdk-1.0.0.alpha.9

- old
+ new

@@ -1,8 +1,8 @@ -o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1356960444.6832509ºb: @value"(„{I" +o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1357237369.4106722Ht: @value"àˆ{I" class:EFI"BundledAsset;FI"logical_path;FI"iugu-ux.js;TI" pathname;FI"U/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux.js;FI"content_type;FI"application/javascript;FI" -mtime;FI"2012-12-31T09:53:03-02:00;FI" length;FiX‚I" digest;F"%3c8a342f907753ef00755119a9a8e3a5I" source;FI"X‚var q=null;window.PR_SHOULD_USE_CONTINUATION=!0; +mtime;FI"2013-01-03T16:22:47-02:00;FI" length;Fi‡I" digest;F"%517c75a3134238ba2df9016a3e5f6990I" source;FI"‡var q=null;window.PR_SHOULD_USE_CONTINUATION=!0; (function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a= [],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c+1]?(d=m(f[c+2]),c+=2):d=j;b.push([j,d]);d<65||j>122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;c<b.length;++c)i=b[c],i[0]<=j[1]+1?j[1]=Math.max(j[1],i[1]):f.push(j=i);b=["["];o&&b.push("^");b.push.apply(b,a);for(c=0;c< f.length;++c)i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c<b;++c){var j=f[c];j==="("?++i:"\\"===j.charAt(0)&&(j=+j.substring(1))&&j<=i&&(d[j]=-1)}for(c=1;c<d.length;++c)-1===d[c]&&(d[c]=++t);for(i=c=0;c<b;++c)j=f[c],j==="("?(++i,d[i]===void 0&&(f[c]="(?:")):"\\"===j.charAt(0)&& (j=+j.substring(1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");if(a.ignoreCase&&s)for(c=0;c<b;++c)j=f[c],a=j.charAt(0),j.length>=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p<d;++p){var g=a[p];if(g.ignoreCase)l=!0;else if(/[a-z]/i.test(g.source.replace(/\\u[\da-f]{4}|\\x[\da-f]{2}|\\[^UXux]/gi,""))){s=!0;l=!1;break}}for(var r= {b:8,t:9,n:10,v:11,f:12,r:13},n=[],p=0,d=a.length;p<d;++p){g=a[p];if(g.global||g.multiline)throw Error(""+g);n.push("(?:"+y(g)+")")}return RegExp(n.join("|"),l?"gi":"g")}function M(a){function m(a){switch(a.nodeType){case 1:if(e.test(a.className))break;for(var g=a.firstChild;g;g=g.nextSibling)m(g);g=a.nodeName;if("BR"===g||"LI"===g)h[s]="\n",t[s<<1]=y++,t[s++<<1|1]=a;break;case 3:case 4:g=a.nodeValue,g.length&&(g=p?g.replace(/\r\n?/g,"\n"):g.replace(/[\t\n\r ]+/g," "),h[s]=g,t[s<<1]=y,y+=g.length, @@ -718,17 +718,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); // Encoding: UTF-8 // Adding a UTF-8 Character to Fix áé @@ -754,6 +786,6 @@ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the // the compiled file. // ; -;TI"required_assets_digest;F"%953472512c9600c5186d22e42a41e805I" _version;F"%6776f581a4329e299531e1d52aa59832 +;TI"required_assets_digest;F"%3a2c27e1d49f952e4c96f8eaf7290e31I" _version;F"%6776f581a4329e299531e1d52aa59832 \ No newline at end of file