Skip to content

Commit

Permalink
Merge pull request #20 from dawehner/fix-debugging
Browse files Browse the repository at this point in the history
Using window. as otherwise remote debugging throws a fatal
  • Loading branch information
jcalderonzumba committed May 4, 2016
2 parents 21bebb8 + 2a45926 commit 4ff4a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ phantom.injectJs("" + phantom.libraryPath + "/browser.js");

system = require('system');

new Poltergeist(system.args[1], system.args[2], system.args[3], system.args[4] === 'false' ? false : true);
new window.Poltergeist(system.args[1], system.args[2], system.args[3], system.args[4] === 'false' ? false : true);

0 comments on commit 4ff4a78

Please sign in to comment.