spec/dummy/tmp/cache/assets/D40/260/sprockets%2F35049c3c82baf75b9adfc9662c05e172 in green_flag-0.3.0 vs spec/dummy/tmp/cache/assets/D40/260/sprockets%2F35049c3c82baf75b9adfc9662c05e172 in green_flag-0.4.0

- old
+ new

@@ -1,8 +1,8 @@ -o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1444080197.945207: @value"Ün{I" -class:ETI"BundledAsset;FI"logical_path;TI"green_flag/application.js;TI" pathname;TI"Q/Users/jason/dev/green_flag/app/assets/javascripts/green_flag/application.js;FI"content_type;TI"application/javascript;TI" -mtime;TI"2015-10-05T17:08:10-04:00;TI" length;TiòlI" digest;TI"%37237f6b6dc5d9eb8a97613fef06c594;FI" source;TI"òl(function($, undefined) { +o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1444245108.00807: @value"öo{I" +class:ETI"BundledAsset;FI"logical_path;TI"green_flag/application.js;FI" pathname;TI"Q/Users/jason/dev/green_flag/app/assets/javascripts/green_flag/application.js;FI"content_type;TI"application/javascript;TI" +mtime;TI"2015-10-06T16:58:36-04:00;TI" length;Ti nI" digest;TI"%dfa6644f556ea66ae25dffe38161ba30;FI" source;TI" n(function($, undefined) { /** * Unobtrusive scripting adapter for jQuery * https://github.com/rails/jquery-ujs * @@ -176,14 +176,18 @@ try { urlAnchor.href = url; // This is a workaround to a IE bug. urlAnchor.href = urlAnchor.href; - // Make sure that the browser parses the URL and that the protocols and hosts match. - return !urlAnchor.protocol || !urlAnchor.host || - (originAnchor.protocol + "//" + originAnchor.host !== - urlAnchor.protocol + "//" + urlAnchor.host); + // If URL protocol is false or is a string containing a single colon + // *and* host are false, assume it is not a cross-domain request + // (should only be the case for IE7 and IE compatibility mode). + // Otherwise, evaluate protocol and host of the URL against the origin + // protocol and host + return !(((!urlAnchor.protocol || urlAnchor.protocol === ':') && !urlAnchor.host) || + (originAnchor.protocol + "//" + originAnchor.host === + urlAnchor.protocol + "//" + urlAnchor.host)); // } catch (e) { // If there is an error parsing the URL, assume it is crossDomain. return true; } }, @@ -837,6 +841,6 @@ // GO AFTER THE REQUIRES BELOW. // ; -;TI"required_assets_digest;TI"%d3dc66b88245941d21e80af2bfbb9dd3;FI" _version;TI"%29ed33acb378e0c0b27fe5f96549550a;F +;TI"required_assets_digest;TI"%fc2baf0017dab95e4a9bcf85d2dce011;FI" _version;TI"%29ed33acb378e0c0b27fe5f96549550a;F \ No newline at end of file