./test/dummy/tmp/cache/assets/C9D/060/sprockets%2F5c8956a1666824a1d214531abd22e2a2 in umlaut-3.2.0 vs ./test/dummy/tmp/cache/assets/C9D/060/sprockets%2F5c8956a1666824a1d214531abd22e2a2 in umlaut-3.3.0

- old
+ new

@@ -1,8 +1,8 @@ -o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1381787979.124495: @value"! {I" +o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1403101131.7281668: @value" {I" class:EFI"ProcessedAsset;FI"logical_path;FI"umlaut/update_html.js;TI" pathname;FI"N/Users/jrochkind/code/umlaut/app/assets/javascripts/umlaut/update_html.js;TI"content_type;FI"application/javascript;FI" -mtime;FI"2013-10-14T10:46:31-04:00;FI" length;FiI" digest;F"%9829b9ec1fe860fe2c9b5b4219bcefccI" source;FI"/* update_html.js: Provide functions to update content on page with background responses from Umlaut. Used by Umlaut itself, as well as by third party callers.*/ +mtime;FI"2014-01-07T15:57:27-05:00;FI" length;FiI" digest;F"%a9a0f4e3174f00eb456662507c6dc069I" source;FI"/* update_html.js: Provide functions to update content on page with background responses from Umlaut. Used by Umlaut itself, as well as by third party callers.*/ (function($) { function SectionTarget(config) { //Add properties from config to ourself @@ -49,10 +49,13 @@ // For our UmlautHtmlUpdater object. function HtmlUpdater(umlaut_base, context_object) { if (context_object == undefined) context_object = ""; + // Remove query string (if present) + umlaut_base = umlaut_base.replace(/\?.*$/, '') + // Remove trailing slash umlaut_base = umlaut_base.replace(/\/$/,''); this.umlaut_uri = umlaut_base + '/resolve/partial_html_sections?umlaut.response_format=json&' + context_object; this.section_targets = []; @@ -180,7 +183,7 @@ } })(jQuery); -;FI"dependency_digest;F"%abfa8a9fde65130f2baaf9ca2dc9d70dI"required_paths;F[I"N/Users/jrochkind/code/umlaut/app/assets/javascripts/umlaut/update_html.js;TI"dependency_paths;F[{I" path;FI"N/Users/jrochkind/code/umlaut/app/assets/javascripts/umlaut/update_html.js;TI" -mtime;FI"2013-10-14T10:46:31-04:00;FI" digest;F"%eaef648c4bda34e414d2b7abd1f90cf5I" _version;F"%6776f581a4329e299531e1d52aa59832 +;FI"dependency_digest;F"%592a315505daaddd28c3fa60b03aa521I"required_paths;F[I"N/Users/jrochkind/code/umlaut/app/assets/javascripts/umlaut/update_html.js;TI"dependency_paths;F[{I" path;FI"N/Users/jrochkind/code/umlaut/app/assets/javascripts/umlaut/update_html.js;TI" +mtime;FI"2014-01-07T15:57:27-05:00;FI" digest;F"%7b46c8ba48df1efa2b6ff6149d5ff32bI" _version;F"%6776f581a4329e299531e1d52aa59832 \ No newline at end of file