Sha256: 5aeaffa59bf92a8f87361ac26011f0b996fd7162266228cd69480adef187e944

Contents?: true

Size: 481 Bytes

Versions: 5

Compression:

Stored size: 481 Bytes

Contents

// Put any custom helper that you can't get to work directly with Ruby in here.
// Exampe: I have had a lot of trouble getting the block helpers to work with Ruby
// Handlebars.registerHelper('loud', function (input) {
//   return input.toUpperCase()
// })

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

Handlebars.registerHelper('omit', function (_options) {
  // return options.fn(this)
  return ''
})

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
handlebarsjs-0.14.2 lib/handlebarsjs/javascript/handlebars-helpers.js
handlebarsjs-0.14.1 lib/handlebarsjs/javascript/handlebars-helpers.js
handlebarsjs-0.14.0 lib/handlebarsjs/javascript/handlebars-helpers.js
handlebarsjs-0.13.1 lib/handlebarsjs/javascript/handlebars-helpers.js
handlebarsjs-0.13.0 lib/handlebarsjs/javascript/handlebars-helpers.js