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
0047f4ea
...
0047f4ea225903c0b492dcf94cab3640b752d403
authored
2012-01-30 19:34:28 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
added a new 'location.changed' event
1 parent
174c8142
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
modules/casper.js
modules/casper.js
View file @
0047f4e
...
...
@@ -1306,6 +1306,7 @@ function createPage(casper) {
casper
.
options
.
httpStatusHandlers
[
resource
.
status
].
call
(
casper
,
casper
,
resource
);
}
casper
.
currentUrl
=
resource
.
url
;
casper
.
emit
(
'location.changed'
,
resource
.
url
);
}
};
page
.
onResourceRequested
=
function
(
request
)
{
...
...
Please
register
or
sign in
to post a comment