o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1416672640.553163: @value"˜ {I" class:ETI"ProcessedAsset;FI"logical_path;TI"!locomotive/utils/core_ext.js;FI" pathname;TI"…/Users/didier/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/locomotive_cms-2.5.5/app/assets/javascripts/locomotive/utils/core_ext.js;FI"content_type;TI"application/javascript;TI" mtime;TI"2014-11-22T16:47:36+01:00;TI" length;Ti½I" digest;TI"%2950704a76ef2434a080505799cb523e;FI" source;TI"½(function() { String.prototype.trim = function() { return this.replace(/^\s+/g, '').replace(/\s+$/g, ''); } String.prototype.repeat = function(num) { for (var i = 0, buf = ""; i < num; i++) buf += this; return buf; } String.prototype.truncate = function(length) { if (this.length > length) { return this.slice(0, length - 3) + '...'; } else { return this; } } String.prototype.slugify = function(sep) { if (typeof sep == 'undefined') sep = '_'; var alphaNumRegexp = new RegExp('[^\\w\\' + sep + ']', 'g'); var avoidDuplicateRegexp = new RegExp('[\\' + sep + ']{2,}', 'g'); return this.replace(/\s/g, sep).replace(alphaNumRegexp, '').replace(avoidDuplicateRegexp, sep).toLowerCase(); } window.addParameterToURL = function(key, value, context) { // code from http://stackoverflow.com/questions/486896/adding-a-parameter-to-the-url-with-javascript if (typeof context == 'undefined') context = document; key = encodeURIComponent(key); value = encodeURIComponent(value); var kvp = context.location.search.substr(1).split('&'); var i = kvp.length; var x; while(i--) { x = kvp[i].split('='); if (x[0] == key) { x[1] = value; kvp[i] = x.join('='); break; } } if (i < 0) { kvp[kvp.length] = [key,value].join('='); } //this will reload the page, it's likely better to store this until finished context.location.search = kvp.join('&'); } window.addJavascript = function(doc, src, options) { var script = doc.createElement('script'); script.type = 'text/javascript'; script.src = src; if (options && options.onload) { script.onload = options.onload; delete(options.onload); } for (var key in options) { script.setAttribute(key, options[key]); } doc.body.appendChild(script); } window.addStylesheet = function(doc, src, options) { var stylesheet = doc.createElement('link'); stylesheet.style = 'text/css'; stylesheet.href = src; stylesheet.media = 'screen'; stylesheet.rel = 'stylesheet'; doc.head.appendChild(stylesheet); } $.ui.dialog.prototype.overlayEl = function() { return this.overlay.$el; } })(); ;TI"dependency_digest;TI"%17f32721bc05cc39e9b310e1101e4e95;FI"required_paths;T[I"…/Users/didier/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/locomotive_cms-2.5.5/app/assets/javascripts/locomotive/utils/core_ext.js;FI"dependency_paths;T[{I" path;TI"…/Users/didier/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/locomotive_cms-2.5.5/app/assets/javascripts/locomotive/utils/core_ext.js;FI" mtime;TI"2014-11-22T16:47:36+01:00;TI" digest;TI"%2950704a76ef2434a080505799cb523e;FI" _version;TI"%ffd318ca8b794f42f5029101c2cf5d91;F