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
b5581235
...
b5581235e0a9b5037d6d0e33e27adf5bb422f6a8
authored
2012-05-28 10:23:56 -0500
by
Tim Bunce
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Add 'system' to require's phantomBuiltins
1 parent
729bc7b5
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 @
b558123
...
...
@@ -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