o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1388437006.686194: @value"G {I" class:EFI"ProcessedAsset;FI"logical_path;FI"!mercury/native_extensions.js;FI" pathname;FI"’/Users/jrissler/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/mercury-rails-0.9.0/app/assets/javascripts/mercury/native_extensions.js.coffee;FI"content_type;FI"application/javascript;FI" mtime;FI"2013-12-30T11:31:51-05:00;FI" length;FiYI" digest;F"%f0e83eb30cba7c1ea0749f95ff19faa2I" source;FI"Y(function() { String.prototype.titleize = function() { return this[0].toUpperCase() + this.slice(1); }; String.prototype.toHex = function() { if (this[0] === '#') { return this; } return this.replace(/rgb(a)?\(([0-9|%]+)[\s|,]?\s?([0-9|%]+)[\s|,]?\s?([0-9|%]+)[\s|,]?\s?([0-9|.|%]+\s?)?\)/gi, function(x, alpha, r, g, b, a) { return "#" + (parseInt(r).toHex()) + (parseInt(g).toHex()) + (parseInt(b).toHex()); }); }; String.prototype.regExpEscape = function() { var escaped, specials; specials = ['/', '.', '*', '+', '?', '|', '(', ')', '[', ']', '{', '}', '\\']; escaped = new RegExp('(\\' + specials.join('|\\') + ')', 'g'); return this.replace(escaped, '\\$1'); }; String.prototype.printf = function() { var arg, chunk, chunks, index, offset, p, re, result, _i, _len; chunks = this.split('%'); result = chunks[0]; re = /^([sdf])([\s\S%]*)$/; offset = 0; for (index = _i = 0, _len = chunks.length; _i < _len; index = ++_i) { chunk = chunks[index]; p = re.exec(chunk); if (index === 0 || !p || arguments[index] === null) { if (index > 1) { offset += 2; result += "%" + chunk; } continue; } arg = arguments[(index - 1) - offset]; switch (p[1]) { case 's': result += arg; break; case 'd': case 'i': result += parseInt(arg.toString(), 10); break; case 'f': result += parseFloat(arg); } result += p[2]; } return result; }; Number.prototype.toHex = function() { var result; result = this.toString(16).toUpperCase(); if (result[1]) { return result; } else { return "0" + result; } }; Number.prototype.toBytes = function() { var bytes, i; bytes = parseInt(this); i = 0; while (1023 < bytes) { bytes /= 1024; i += 1; } if (i) { return "" + (bytes.toFixed(2)) + ['', ' kb', ' Mb', ' Gb', ' Tb', ' Pb', ' Eb'][i]; } else { return "" + bytes + " bytes"; } }; }).call(this); ;TI"dependency_digest;F"%37d488a81087badc56c590e69f42ea35I"required_paths;F[I"’/Users/jrissler/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/mercury-rails-0.9.0/app/assets/javascripts/mercury/native_extensions.js.coffee;FI"dependency_paths;F[{I" path;FI"’/Users/jrissler/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/mercury-rails-0.9.0/app/assets/javascripts/mercury/native_extensions.js.coffee;FI" mtime;FI"2013-12-30T11:31:51-05:00;FI" digest;F"%17a38f8e630838686e4a7e802eed7812I" _version;F"%6776f581a4329e299531e1d52aa59832