o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1332169548.321156: @value"R {I" class:EFI"BundledAsset;FI"logical_path;F"umlaut/update_html.jsI" pathname;F"G/home/rochkind/umlaut/app/assets/javascripts/umlaut/update_html.jsI"content_type;FI"application/javascript;FI" mtime;FI"2012-02-29T14:11:58-05:00;FI" length;Fi I" digest;F"%7eac6da7767629563b1b32b79c586770I" 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(a){function b(b){a.extend(this,b),this.selector==undefined&&(this.selector="#"+this.umlaut_section_id),this.position==undefined&&(this.position="html")}function d(c,d){d==undefined&&(d=""),c=c.replace(/\/$/,""),this.umlaut_uri=c+"/resolve/partial_html_sections?umlaut.response_format=json&"+d,this.section_targets=[],this.add_section_target=function(a){this.section_targets.push(new b(a))},this.complete=function(){},this.is_remote_url=function(a){var b=/^(\w+:)?\/\/([^\/?#]+)/,c=b.exec(a);return c&&(c[1]&&c[1]!==location.protocol||c[2]!==location.host)},this.update=function(){var b=this,c=this.is_remote_url(this.umlaut_uri)?"jsonp":"json";a.ajax({url:b.umlaut_uri,dataType:c,jsonp:"umlaut.jsonp",error:function(){a.error("Problem loading background elements.")},success:function(c){for(var d=0;d