Commit 24942703 24942703673ebee187195e0c403e6595ed58cc3a by Nicolas Perriault

if phantom is not defined, can't phantom.exit - closes #344

1 parent 776c633a
......@@ -33,7 +33,6 @@
if (!phantom) {
console.error('CasperJS needs to be executed in a PhantomJS environment http://phantomjs.org/');
phantom.exit(1);
}
if (phantom.version.major === 1 && phantom.version.minor < 7) {
......