Skip to content

Commit

Permalink
Merge pull request #3 from abenrob/noPhantonGlobal
Browse files Browse the repository at this point in the history
removed global phantomjs requirement
  • Loading branch information
mhkeller committed Aug 7, 2015
2 parents f474a09 + 18df7f0 commit 738a42e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"colors": "^1.0.3",
"node-phantom": "~0.2.5",
"socket.io": "0.9.6",
"underscore": "~1.5.2"
"underscore": "~1.5.2",
"phantomjs": "^1.9.17"
}
}
2 changes: 1 addition & 1 deletion src/banquo.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function banquo(opts, callback) {

console.log(colors.cyan('Requesting...'), settings.url);

phantom.create(createPage)
phantom.create(createPage,{phantomPath:require('phantomjs').path});

function createPage(err, _ph) {
ph = _ph;
Expand Down

0 comments on commit 738a42e

Please sign in to comment.