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
6c7ae14c
...
6c7ae14c070d84ae54a890a57aff19e27f84c7f3
authored
2012-05-28 09:02:33 +0200
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
added a check to prevent casper running with phantomjs < 1.5
1 parent
3e41c7ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
bin/bootstrap.js
package.json
bin/bootstrap.js
View file @
6c7ae14
...
...
@@ -27,6 +27,10 @@
* DEALINGS IN THE SOFTWARE.
*
*/
if
(
phantom
.
version
.
major
!==
1
||
phantom
.
version
.
minor
<
5
)
{
console
.
error
(
'CasperJS needs at least PhantomJS v1.5.0'
);
phantom
.
exit
(
1
);
}
/**
* Loads and initialize the CasperJS environment.
...
...
package.json
View file @
6c7ae14
...
...
@@ -14,7 +14,7 @@
}
],
"dependencies"
:
{
"http://www.phantomjs.org/"
:
"1.
3
"
"http://www.phantomjs.org/"
:
"1.
5
"
},
"bugs"
:
{
"url"
:
"https://github.com/n1k0/casperjs/issues"
...
...
Please
register
or
sign in
to post a comment