Skip to content

Instantly share code, notes, and snippets.

View rjz's full-sized avatar
👋
Hey there!

RJ Zaworski rjz

👋
Hey there!
View GitHub Profile
// require hogan
var hogan = require("hogan.js");
// compile template
var template = hogan.compile("@{{name}}");
var team = ['dhg', 'fat', 'jimio', 'nickgreen', 'sayrer'];
var mappedTeam = team.map(function (twitterer) {
@rjz
rjz / grunt-ejsifier.js
Last active December 19, 2015 10:09 — forked from cookrn/_readme.md
Grunt task for client-side EJS
// Concat EJS templates for use in client-side application
// Based on https://gist.github.com/cookrn/3001401
//
// Supports features found in `_.template()` -- EJS extras not included!
//
var path = require('path');
module.exports = function (grunt) {
'use strict';