mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-10 21:01:41 +00:00
update
This commit is contained in:
10
node_modules/pug-runtime/wrap.js
generated
vendored
Normal file
10
node_modules/pug-runtime/wrap.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
var runtime = require('./');
|
||||
|
||||
module.exports = wrap;
|
||||
function wrap(template, templateName) {
|
||||
templateName = templateName || 'template';
|
||||
return Function('pug',
|
||||
template + '\n' +
|
||||
'return ' + templateName + ';'
|
||||
)(runtime);
|
||||
}
|
Reference in New Issue
Block a user