o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1351432361.8208761‰<: @value"~{I" class:EFI"ProcessedAsset;FI"logical_path;FI"iugu-ux/capabilities.js;FI" pathname;FI"b/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/capabilities.js;FI"content_type;FI"application/javascript;FI" mtime;FI"2012-10-27T18:19:43-02:00;FI" length;Fi7I" digest;F"%c79d3a93692d8cfa3a039923569c046cI" 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"%044fabeb1f80e56ac9411af190a7296cI"required_paths;F[I"b/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/capabilities.js;FI"dependency_paths;F[{I" path;FI"b/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/capabilities.js;FI" mtime;FI"2012-10-27T18:19:43-02:00;FI" digest;F"%c79d3a93692d8cfa3a039923569c046cI" _version;F"%9f3b95dd7ea3030dc35985c0a8020862