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
8f373880
...
8f373880ae55415748aa4fd5f152d24c4a42dee5
authored
2012-04-30 19:54:33 +0200
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
refs #99, check for a valid sourceId on error
1 parent
1cd0afe2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
bin/bootstrap.js
bin/bootstrap.js
View file @
8f37388
...
...
@@ -192,7 +192,7 @@ phantom.loadCasper = function loadCasper() {
* @param Function callback An optional callback
*/
phantom
.
processScriptError
=
function
processScriptError
(
error
,
file
,
callback
)
{
if
(
!
this
.
sourceIds
.
hasOwnProperty
(
error
.
sourceId
))
{
if
(
error
.
sourceId
&&
!
this
.
sourceIds
.
hasOwnProperty
(
error
.
sourceId
))
{
this
.
sourceIds
[
error
.
sourceId
]
=
file
;
}
if
(
error
.
message
===
"__sourceId__"
)
{
...
...
Please
register
or
sign in
to post a comment