lib/capybara/poltergeist/client/compiled/main.js in poltergeist-0.1.0 vs lib/capybara/poltergeist/client/compiled/main.js in poltergeist-0.2.0

- old
+ new

@@ -1,8 +1,8 @@ var Poltergeist; -if (phantom.version.major < 1 || phantom.version.minor < 3) { - console.log("Poltergeist requires a PhantomJS version of at least 1.3"); +if (phantom.version.major < 1 || phantom.version.minor < 4 || phantom.version.patch < 1) { + console.log("Poltergeist requires a PhantomJS version of at least 1.4.1"); phantom.exit(1); } Poltergeist = (function() { function Poltergeist(port) { this.browser = new Poltergeist.Browser(this); @@ -33,6 +33,6 @@ })(); phantom.injectJs('web_page.js'); phantom.injectJs('node.js'); phantom.injectJs('connection.js'); phantom.injectJs('browser.js'); -new Poltergeist(phantom.args[0]); +new Poltergeist(phantom.args[0]); \ No newline at end of file