diff options
Diffstat (limited to 'utils/platforms/template/bootstrap.js')
-rwxr-xr-x | utils/platforms/template/bootstrap.js | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/utils/platforms/template/bootstrap.js b/utils/platforms/template/bootstrap.js deleted file mode 100755 index df03512..0000000 --- a/utils/platforms/template/bootstrap.js +++ /dev/null @@ -1,38 +0,0 @@ -(function (evalGlobal) { - - var read = /*TODO*/; // function(path:string):string - - var isFile = /*TODO*/; // function(path:string):boolean - - var prefix = "/path/to/narwhal"; /*TODO*/ - - eval(read(prefix + "/narwhal.js"))({ - global: this, - evalGlobal: evalGlobal, - platform: '<<<name>>>', /*TODO*/ - platforms: ['<<<name>>>', 'default'], /*TODO*/ - os: "", /* TODO /\bwindows\b/i for Windows FS support */ - // XXX platforms may include any number of - // prioritized generic platforms like: - // rhino, java, c, v8, default - print: print, - evaluate: function (text) { - // TODO maybe something better here: - return eval( - "(function(require,exports,module,system,print){" + - text + - "/**/\n})" - ); - }, - fs: { - read: read, - isFile: isFile - }, - prefix: prefix, - debug: false, - verbose: false - }); - -}).call(this, function () { - return eval(arguments[0]); -}); |