Skip to content

Commit

Permalink
Introduces gpf.fs.read for all hosts (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBuchholz committed Oct 14, 2017
1 parent bc9cf6c commit 553c869
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/host/phantomjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
/*global _GPF_HOST*/ // Host types
/*global _gpfBootImplByHost*/ // Boot host specific implementation per host
/*global _gpfExit:true*/ // Exit function
/*global _gpfNodeFs:true*/ // Node/PhantomJS require("fs")
/*global _gpfWebDocument:true*/ // Browser document object
/*global _gpfWebWindow:true*/ // Browser window object
/*#endif*/
Expand All @@ -24,5 +25,6 @@ _gpfBootImplByHost[_GPF_HOST.PHANTOMJS] = function () {

_gpfWebWindow = window;
_gpfWebDocument = document;
_gpfNodeFs = require("fs");

};

0 comments on commit 553c869

Please sign in to comment.