Sha256: b6af18b9b3c07cb2efd133fe74d112129a22df08bfffc98758643244b8784a6a

Contents?: true

Size: 359 Bytes

Versions: 4

Compression:

Stored size: 359 Bytes

Contents

Handlebars.registerHelper('loud', function (input) {
  return input.toUpperCase()
})

Handlebars.registerHelper('allow_html', function (some_html) {
  return new Handlebars.SafeString(some_html);
})

// Handlebars.registerHelper('i_am_safe_xxx', function (some_html) {
//   some_html = "doe some thing"
//   return new Handlebars.SafeString(some_html);
// })

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
handlebarsjs-0.11.0 lib/handlebarsjs/javascript/handlebars-helpers.js
handlebarsjs-0.10.0 lib/handlebarsjs/javascript/handlebars-helpers.js
handlebarsjs-0.9.0 lib/handlebarsjs/javascript/handlebars-helpers.js
handlebarsjs-0.8.0 lib/handlebarsjs/javascript/handlebars-helpers.js