Skip to content

Instantly share code, notes, and snippets.

View jeromyevans's full-sized avatar

Jeromy Evans jeromyevans

View GitHub Profile
@phobia
phobia / helper-raw.js
Created February 20, 2014 10:08
Handlebars helper for outputing a partial without handlebars parsing its contents. Useful for outputing templates to be used client side.
(function() {
module.exports.register = function(Handlebars, options) {
/**
* Raw
* Output a partial as raw text
*
* Usage example:
* {{raw "my-partial"}}
*