Commit 5eadafd9 5eadafd94c4d3247acd6cae969273514542a1e1e by Nicolas Perriault

Merge pull request #126 from timbunce/master

Add 'system' to require's phantomBuiltins
2 parents 729bc7b5 b5581235
......@@ -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) {
......