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
9b9fb4b3
...
9b9fb4b3047f02a96cfa74ddd69e50766074f371
authored
2012-12-06 12:47:39 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
jshint
1 parent
3a9fcefd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
modules/casper.js
modules/casper.js
View file @
9b9fb4b
...
...
@@ -75,7 +75,7 @@ exports.selectXPath = selectXPath;
*/
var
Casper
=
function
Casper
(
options
)
{
"use strict"
;
/*jshint maxstatements:
3
0*/
/*jshint maxstatements:
4
0*/
// init & checks
if
(
!
(
this
instanceof
Casper
))
{
return
new
Casper
(
options
);
...
...
@@ -1935,6 +1935,7 @@ exports.Casper = Casper;
* @return WebPage
*/
function
createPage
(
casper
)
{
/*jshint maxstatements:20*/
"use strict"
;
var
page
=
require
(
'webpage'
).
create
();
page
.
onAlert
=
function
onAlert
(
message
)
{
...
...
Please
register
or
sign in
to post a comment