UNPKG

grunt-template-module

Version:

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

12 lines (11 loc) 300 B
"use strict;" this["JST"] = this["JST"] || {}; this["JST"]["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; };