Pruned node modules

tweaking workflow
This commit is contained in:
Drew Heavner
2019-12-04 10:28:59 -05:00
parent c328f3aa5c
commit fc9e3b4597
7302 changed files with 16 additions and 1659266 deletions

17
node_modules/tmpl/lib/tmpl.js generated vendored
View File

@@ -1,17 +0,0 @@
var INTERPOLATE = /{([\s\S]+?)}/g
module.exports = function(str, data) {
var tmpl = 'var __p=[],print=function(){__p.push.apply(__p,arguments);};' +
'with(obj||{}){__p.push(\'' +
str.replace(/\\/g, '\\\\')
.replace(/'/g, "\\'")
.replace(INTERPOLATE, function(match, code) {
return "'," + code.replace(/\\'/g, "'") + ",'"
})
.replace(/\r/g, '\\r')
.replace(/\n/g, '\\n')
.replace(/\t/g, '\\t')
+ "');}return __p.join('');"
var func = new Function('obj', tmpl)
return data ? func(data) : func
}