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
5eadafd9
...
5eadafd94c4d3247acd6cae969273514542a1e1e
authored
2012-05-28 08:28:27 -0700
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge pull request #126 from timbunce/master
Add 'system' to require's phantomBuiltins
2 parents
729bc7b5
b5581235
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
bin/bootstrap.js
bin/bootstrap.js
View file @
5eadafd
...
...
@@ -155,7 +155,7 @@ phantom.loadCasper = function loadCasper() {
* TODO: remove when PhantomJS has full module support
*/
require
=
(
function
_require
(
require
,
requireDir
)
{
var
phantomBuiltins
=
[
'fs'
,
'webpage'
,
'webserver'
];
var
phantomBuiltins
=
[
'fs'
,
'webpage'
,
'webserver'
,
'system'
];
var
phantomRequire
=
phantom
.
__orig__require
=
require
;
var
requireCache
=
{};
return
function
_require
(
path
)
{
...
...
Please
register
or
sign in
to post a comment