Permalink
Browse files

Merge pull request #33 from sameervitian/master

fix to add phantom config
  • Loading branch information...
2 parents 072fe6c + 9512eb4 commit 7b82108a45ad22a3ca38f1383593e66d5369d574 @alexscheelmeyer committed Feb 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 node-phantom.js
View
@@ -21,7 +21,7 @@ module.exports={
function spawnPhantom(port,callback){
var args=[];
for(var parm in options.parameters) {
- args.push('--' + option + '=' + options.parameters[parm]);
+ args.push('--' + parm + '=' + options.parameters[parm]);
}
args=args.concat([__dirname + '/bridge.js', port]);

0 comments on commit 7b82108

Please sign in to comment.