Permalink
Browse files

[runmode addon] Fix missing parameter in runmode.node.js

Closes #2188
  • Loading branch information...
marijnh committed Jan 29, 2014
1 parent 53b129b commit 76c97344df8c533f311b9013affe6553c2d40635
Showing with 1 addition and 1 deletion.
  1. +1 −1 addon/runmode/runmode.node.js
@@ -99,7 +99,7 @@ exports.getMode = function(options, spec) {
};
exports.registerHelper = exports.registerGlobalHelper = Math.min;
-exports.runMode = function(string, modespec, callback) {
+exports.runMode = function(string, modespec, callback, options) {
var mode = exports.getMode({indentUnit: 2}, modespec);
var lines = splitLines(string), state = (options && options.state) || exports.startState(mode);
for (var i = 0, e = lines.length; i < e; ++i) {

0 comments on commit 76c9734

Please sign in to comment.