This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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'; |