Sha256: 88b8ba978f0d04c2d53dba805f5a0a837aff5ea8d8deb03a772353b665bcab3c
Contents?: true
Size: 495 Bytes
Versions: 16
Compression:
Stored size: 495 Bytes
Contents
//= require handlebars //= require spree/backend/translation Handlebars.registerHelper("t", function(key, options) { return Spree.t(key, options.hash); }); Handlebars.registerHelper("human_attribute_name", function(model, attr) { return Spree.human_attribute_name(model, attr); }); Handlebars.registerHelper("admin_url", function() { return Spree.pathFor("admin") }); Handlebars.registerHelper("concat", function() { return Array.prototype.slice.call(arguments, 0, -1).join(''); });
Version data entries
16 entries across 16 versions & 1 rubygems