Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
00b56a00
...
00b56a00536378888601ef44d34b2afe2ad3385e
authored
2014-08-09 00:05:12 +0200
by
Adam
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Added a warning for usage with PhantomJS v2.0 - prerelease.
1 parent
50ab02e1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
bin/bootstrap.js
bin/bootstrap.js
View file @
00b56a0
...
...
@@ -110,9 +110,10 @@ CasperError.prototype = Object.getPrototypeOf(new Error());
if
(
version
.
minor
===
8
&&
version
.
patch
<
1
)
{
return
__die
(
'CasperJS needs at least PhantomJS v1.8.1 or later.'
);
}
}
else
if
(
version
.
major
!
==
2
)
{
return
__die
(
'CasperJS needs PhantomJS v1.x or v2.x'
);
}
else
if
(
version
.
major
=
==
2
)
{
console
.
log
(
"Warning PhantomJS v2.0 not yet released. There will not be any official support for any bugs until stable version is released!"
);
}
else
return
__die
(
'CasperJS needs PhantomJS v1.x or v2.x'
);
})(
phantom
.
version
);
// Hooks in default phantomjs error handler
...
...
Please
register
or
sign in
to post a comment