From 13fae40878a7740d0be550e1b07f02105b724ad5 Mon Sep 17 00:00:00 2001 From: Chris Oakman Date: Sun, 11 Jan 2015 13:20:20 -0600 Subject: [PATCH] add externs file --- externs/misc.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 externs/misc.js diff --git a/externs/misc.js b/externs/misc.js new file mode 100644 index 0000000..0842e29 --- /dev/null +++ b/externs/misc.js @@ -0,0 +1,22 @@ +var fs = {}; +fs.existsSync = function() {}; +fs.mkdirSync = function() {}; +fs.readFileSync = function() {}; +fs.rmrfSync = function() {}; +fs.writeFileSync = function() {}; +fs.unlinkSync = function() {}; + +var ipc = {}; +ipc.on = function() {}; + +var moment = {}; +moment.format = function() {}; +moment.unix = function() {}; + +var path = {}; +path.dirname = function() {}; + +// NOTE: this is NOT the correct way to do externs... +Object.prototype.setEncoding = function() {}; +Object.prototype.stderr = {}; +Object.prototype.stdout = {};