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
d87bedd6
...
d87bedd64dce08d8f793c3a39b1eac95c67697f0
authored
2012-01-07 17:13:28 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
added WebPage param to 'page.initialized' event
1 parent
b74654dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
modules/casper.js
modules/casper.js
View file @
d87bedd
...
...
@@ -877,7 +877,7 @@ Casper.prototype.start = function(location, then) {
}
},
this
.
options
.
timeout
,
this
);
}
this
.
emit
(
'page.initialized'
);
this
.
emit
(
'page.initialized'
,
this
);
if
(
utils
.
isFunction
(
this
.
options
.
onPageInitialized
))
{
this
.
log
(
"Post-configuring WebPage instance"
,
"debug"
);
this
.
options
.
onPageInitialized
.
call
(
this
,
this
.
page
);
...
...
Please
register
or
sign in
to post a comment