Sha256: b900287059983a9eb6873689bc2ebe61a4634f7335a30c892f8893d54ae4f9fb

Contents?: true

Size: 1.17 KB

Versions: 13

Compression:

Stored size: 1.17 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1320592671.798172@:@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"%ca17eb5afc7c5667dc833dc3c86bec8c

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
medivo-0.1.24 spec/dummy/tmp/cache/assets/D9F/260/sprockets%2Fa3e040f83c30e4bbc1c79ffae57909e6
medivo-0.1.23 spec/dummy/tmp/cache/assets/D9F/260/sprockets%2Fa3e040f83c30e4bbc1c79ffae57909e6
medivo-0.1.22 spec/dummy/tmp/cache/assets/D9F/260/sprockets%2Fa3e040f83c30e4bbc1c79ffae57909e6
medivo-0.1.21 spec/dummy/tmp/cache/assets/D9F/260/sprockets%2Fa3e040f83c30e4bbc1c79ffae57909e6
medivo-0.1.20 spec/dummy/tmp/cache/assets/D9F/260/sprockets%2Fa3e040f83c30e4bbc1c79ffae57909e6
medivo-0.1.19 spec/dummy/tmp/cache/assets/D9F/260/sprockets%2Fa3e040f83c30e4bbc1c79ffae57909e6
medivo-0.1.18 spec/dummy/tmp/cache/assets/D9F/260/sprockets%2Fa3e040f83c30e4bbc1c79ffae57909e6
medivo-0.1.17 spec/dummy/tmp/cache/assets/D9F/260/sprockets%2Fa3e040f83c30e4bbc1c79ffae57909e6
medivo-0.1.16 spec/dummy/tmp/cache/assets/D9F/260/sprockets%2Fa3e040f83c30e4bbc1c79ffae57909e6
medivo-0.1.15 spec/dummy/tmp/cache/assets/D9F/260/sprockets%2Fa3e040f83c30e4bbc1c79ffae57909e6
medivo-0.1.14 spec/dummy/tmp/cache/assets/D9F/260/sprockets%2Fa3e040f83c30e4bbc1c79ffae57909e6
medivo-0.1.13 spec/dummy/tmp/cache/assets/D9F/260/sprockets%2Fa3e040f83c30e4bbc1c79ffae57909e6
medivo-0.1.12 spec/dummy/tmp/cache/assets/D9F/260/sprockets%2Fa3e040f83c30e4bbc1c79ffae57909e6