o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1362491642.136415»: @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"2013-03-05T10:53:21-03:00;FI" length;FiŒI" digest;F"%002eec0d176d04144790998fc5167c70I" 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"%402d53f75bdc1d7418fae74f00938fd5I"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"2013-03-05T10:53:21-03:00;FI" digest;F"%002eec0d176d04144790998fc5167c70I" _version;F"%9f3b95dd7ea3030dc35985c0a8020862