o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1361449313.50613do: @value"½{I" class:EFI"ProcessedAsset;FI"logical_path;FI"iugu-ux/capabilities.js;FI" pathname;FI"w/Users/patricknegri/.rvm/gems/ruby-1.9.2-p290/gems/iugu-ux-0.9.2/vendor/assets/javascripts/iugu-ux/capabilities.js;FI"content_type;FI"application/javascript;FI" mtime;FI"2013-01-17T19:18:49-02:00;FI" length;Fi7I" digest;F"%72bc70942378c205689d192333fdef18I" source;FI"7var BrowserDetect = { init: function () { this.browser = this.searchString(this.dataBrowser) || "unknow"; this.version = this.searchVersion(navigator.userAgent) || this.searchVersion(navigator.appVersion) || "unknown_version"; this.OS = this.searchString(this.dataOS) || "unknow_os"; }, searchString: function (data) { for (var i=0;i= 0 ) { var androidversion = parseFloat(ua.slice(ua.indexOf("Android")+8)); if (androidversion < 3) { $("html").addClass( 'deprecated_android' ); } } window.TOUCH_SUPPORT = jQuery.support.touch; window.matchMedia = window.matchMedia || (function(doc, undefined){ var bool, docElem = doc.documentElement, refNode = docElem.firstElementChild || docElem.firstChild, // fakeBody required for fakeBody = doc.createElement('body'), div = doc.createElement('div'); div.id = 'mq-test-1'; div.style.cssText = "position:absolute;top:-100em"; fakeBody.style.background = "none"; fakeBody.appendChild(div); return function(q){ div.innerHTML = '­'; docElem.insertBefore(fakeBody, refNode); bool = div.offsetWidth == 42; docElem.removeChild(fakeBody); return { matches: bool, media: q }; }; })(document); window.HAS_MEDIAQUERY = window.matchMedia && window.matchMedia( "only all" ).matches; function configureMediaQuery() { $("body").removeClass("mq-mp"); // Mobile Portrait $("body").removeClass("mq-ml"); // Mobile Landscape $("body").removeClass("mq-tb"); // For Tablets $("body").removeClass("mq-ls"); // For Large Screens $("body").removeClass("mq-sm"); // For Small Screens var queryWidth = $(window).width(); if (queryWidth < 480) $("body").addClass("mq-mp"); else if (queryWidth < 768 && queryWidth > 479) $("body").addClass("mq-mp"); else if (queryWidth < 1023 && queryWidth > 767) $("body").addClass("mq-tb"); else if (queryWidth > 768) $("body").addClass("mq-ls"); else if (queryWidth < 769) $("body").addClass("mq-sm"); } if (window.HAS_MEDIAQUERY) { $("html").addClass("mediaquery"); } else { configureMediaQuery(); $(window).resize(configureMediaQuery); } }); ;FI"dependency_digest;F"%fc23a8ee3374f8ec0b0828ea7efeb378I"required_paths;F[I"w/Users/patricknegri/.rvm/gems/ruby-1.9.2-p290/gems/iugu-ux-0.9.2/vendor/assets/javascripts/iugu-ux/capabilities.js;FI"dependency_paths;F[{I" path;FI"w/Users/patricknegri/.rvm/gems/ruby-1.9.2-p290/gems/iugu-ux-0.9.2/vendor/assets/javascripts/iugu-ux/capabilities.js;FI" mtime;FI"2013-01-17T19:18:49-02:00;FI" digest;F"%72bc70942378c205689d192333fdef18I" _version;F"%6776f581a4329e299531e1d52aa59832