refix plugins

This commit is contained in:
John McLear 2015-01-11 23:59:18 +00:00
parent c106e71942
commit a553b44dbc
2 changed files with 2 additions and 2 deletions

View file

@ -114,7 +114,7 @@ exports.require = function (name, args, mod) {
args.e = exports;
args.require = require;
var template = '<% e._init([__output]); %>' + fs.readFileSync(ejspath).toString() + '<% e._exit(); %>';
var template = '<% e._init(buf); %>' + fs.readFileSync(ejspath).toString() + '<% e._exit(); %>';
exports.info.args.push(args);
exports.info.file_stack.push({path: ejspath, inherit: []});