Sha256: 49d6a870031e61714a2b8b6df5d7aa4f5aadcf219e930d889966c08f1cbb65c3

Contents?: true

Size: 1.17 KB

Versions: 4

Compression:

Stored size: 1.17 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1321032518.3456159’:@value{	I"length:EFi¹I"digest;
F"%38dd84cf556676bd12148c2807f042d6I"source;
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);
;
FI"
_version;
F"%320d2434545beec5bc4ece710e92adec

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
medivo-0.2.7 spec/dummy/tmp/cache/assets/D9F/260/sprockets%2Fa3e040f83c30e4bbc1c79ffae57909e6
medivo-0.2.6 spec/dummy/tmp/cache/assets/D9F/260/sprockets%2Fa3e040f83c30e4bbc1c79ffae57909e6
medivo-0.2.5 spec/dummy/tmp/cache/assets/D9F/260/sprockets%2Fa3e040f83c30e4bbc1c79ffae57909e6
medivo-0.2.3 spec/dummy/tmp/cache/assets/D9F/260/sprockets%2Fa3e040f83c30e4bbc1c79ffae57909e6