browserify-hogan
Advanced tools
Comparing version 0.0.2 to 0.0.3
var hogan = require('hogan.js'), | ||
through = require('through') | ||
var filenamePattern = /\.(html|hogan|hg)$/ | ||
var filenamePattern = /\.(html|hogan|hg|mustache|ms)$/ | ||
var wrap = function(template) { | ||
return 'module.exports=(function() {var Hogan = require(\'hogan.js\');var template = new Hogan.Template(' + template + ');return function(data) {return template.render(data)}}());' | ||
return 'module.exports=(function() {var Template = require(\'hogan.js/lib/template\').Template;var template = new Template(' + template + ');return function(data) {return template.render(data)}}());' | ||
} | ||
@@ -9,0 +9,0 @@ |
@@ -11,3 +11,3 @@ { | ||
], | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"license": "MIT", | ||
@@ -14,0 +14,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2718