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
6f677800
...
6f677800fe4ba08a2b765e99fca4076293db5ce4
authored
2013-06-08 22:08:43 +0200
by
Laurent Jouanneau
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Refs #482: CasperError should be declared as a global function
1 parent
0b240e99
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
bin/bootstrap.js
bin/bootstrap.js
View file @
6f67780
...
...
@@ -306,6 +306,7 @@ CasperError.prototype = Object.getPrototypeOf(new Error());
// declare a dummy patchRequire function
require
.
globals
.
patchRequire
=
global
.
patchRequire
=
function
(
req
)
{
return
req
;};
require
.
globals
.
CasperError
=
CasperError
;
}
else
{
// patch require
...
...
Please
register
or
sign in
to post a comment