summaryrefslogtreecommitdiff
path: root/src/node
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2015-01-11 23:59:18 +0000
committerJohn McLear <john@mclear.co.uk>2015-01-11 23:59:18 +0000
commita553b44dbccf76603ae516464cd695a8f4fd7d6e (patch)
treece008e7cf439e0addda39ca6ef020056a2de8899 /src/node
parentc106e7194286f70aa5ef6c1dabee3126d6b02626 (diff)
downloadetherpad-lite-a553b44dbccf76603ae516464cd695a8f4fd7d6e.zip
refix plugins
Diffstat (limited to 'src/node')
-rw-r--r--src/node/eejs/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/eejs/index.js b/src/node/eejs/index.js
index 5f2baaf3..30f5a442 100644
--- a/src/node/eejs/index.js
+++ b/src/node/eejs/index.js
@@ -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: []});