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
5b590280
...
5b590280f33df3240bcf93c282d7d7c0772c7fad
authored
2011-10-01 11:24:44 +0200
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed #2: toString representation of WebPage instance should be checked, not the…
… object instance itself
1 parent
a5fdadca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
casper.js
casper.js
View file @
5b59028
...
...
@@ -631,7 +631,7 @@
if
(
phantom
.
version
.
major
<=
1
&&
phantom
.
version
.
minor
<
3
)
{
return
what
instanceof
WebPage
;
}
else
{
return
what
.
indexOf
(
'WebPage('
)
===
0
;
return
what
.
toString
().
indexOf
(
'WebPage('
)
===
0
;
}
}
})(
phantom
);
...
...
Please
register
or
sign in
to post a comment