mirror of
https://gitlab.com/octtspacc/staticoso
synced 2025-06-05 22:09:23 +02:00
Transition to monorepo on a new Dev branch
This commit is contained in:
10
App/Source/node_modules/pug-runtime/wrap.js
generated
vendored
Normal file
10
App/Source/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