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
a24309d3
...
a24309d33c099529e5d4dc7c523b8a7a61ae787b
authored
2012-04-30 19:56:50 +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
8f373880
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
bin/bootstrap.js
bin/bootstrap.js
View file @
a24309d
...
...
@@ -192,6 +192,7 @@ phantom.loadCasper = function loadCasper() {
* @param Function callback An optional callback
*/
phantom
.
processScriptError
=
function
processScriptError
(
error
,
file
,
callback
)
{
console
.
log
(
error
,
file
,
callback
)
if
(
error
.
sourceId
&&
!
this
.
sourceIds
.
hasOwnProperty
(
error
.
sourceId
))
{
this
.
sourceIds
[
error
.
sourceId
]
=
file
;
}
...
...
Please
register
or
sign in
to post a comment