o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1372441615.703637: @value"¿{I" class:EFI"ProcessedAsset;FI"logical_path;F"iugu-ux/capabilities.jsI" pathname;F"b/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/capabilities.jsI"content_type;FI"application/javascript;FI" mtime;FI"2013-03-05T10:53:21-03:00;FI" length;FiŒI" digest;F"%40edad68ded242f87b6482316599ed22I" source;FI"Œvar BrowserDetect = { init: function () { this.browser = this.searchString(this.dataBrowser) || "unknown"; this.version = this.searchVersion(navigator.userAgent) || this.searchVersion(navigator.appVersion) || "unknown_version"; this.OS = this.searchString(this.dataOS) || "unknown_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.IS_DEPRECATED_ANDROID = true; } } 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"%b56904ac8bce5ce5537f6fcf7ea3078aI"required_paths;F["b/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/capabilities.jsI"dependency_paths;F[{I" path;F"b/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/capabilities.jsI" mtime;FI"2013-03-05T10:53:21-03:00;FI" digest;F"%40edad68ded242f87b6482316599ed22I" _version;F"%6776f581a4329e299531e1d52aa59832