UNPKG

grunt-template-module

Version:

Precompile templates to a file with option to expose templates as a node/commonjs module.

11 lines (10 loc) 280 B
var _ = require('underscore'); exports["test/fixtures/template.html"] = function(obj){ var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');}; with(obj||{}){ __p+='<head><title>'+ ((__t=( title ))==null?'':__t)+ '</title></head>'; } return __p; };