Sha256: 757c7a8a0b6dde44a74dbe1525158d57965ae61e14956f09da2683d3fe209250
Contents?: true
Size: 1.79 KB
Versions: 7
Compression:
Stored size: 1.79 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1320143886.1752141 6µ:@value{I" class:EFI"BundledAsset; FI"id; F"%0af04feb637b409582b07b1f8a060f24I"logical_path; FI"medivo/helpers.js; FI" pathname; FI"d/Users/danielsudol/projects/medivo/medivo_resource/app/assets/javascripts/medivo/helpers.coffee; FI"content_type; FI"application/javascript; FI" mtime; FI"2011-10-30T00:58:58+02:00; FI" body; FI"¹(function() { window.isNumber = function(n) { return !isNaN(parseFloat(n)) && isFinite(n); }; String.prototype.capitalize = function() { return this.charAt(0).toUpperCase() + this.substring(1).toLowerCase(); }; String.prototype.titleize = function() { var parts, res; res = []; parts = this.split(" "); $.each(parts, function(index, part) { return res.push(part.capitalize()); }); return res.join(" "); }; Handlebars.registerHelper("rounded", function(number) { if (isNumber(number)) { return parseFloat(number).toFixed(2); } }); Handlebars.registerHelper("titleize", function(string) { if (string !== void 0) { return string.titleize(); } }); Handlebars.registerHelper("address_without_comma", function(lab) { if (!(this.data && this.data.address)) { return; } return this.data.address.replace(/(\s*,\s*$)/g, "").titleize(); }); }).call(this); ; TI"asset_paths; F[I"d/Users/danielsudol/projects/medivo/medivo_resource/app/assets/javascripts/medivo/helpers.coffee; FI"dependency_paths; F[{I" path; FI"d/Users/danielsudol/projects/medivo/medivo_resource/app/assets/javascripts/medivo/helpers.coffee; FI" mtime; FIu: Time ¶ç€ ë:@_zoneI" CEST; T:offseti I"hexdigest; F"%d837656b0baff8903e33c1d6ebd95ef4I" _version; F"%46dde6621c301f4928e3b34efee9e3b5
Version data entries
7 entries across 7 versions & 1 rubygems