Protect all Node-specific code with NODE checks
This commit is contained in:
parent
7c7473f86e
commit
b5d6afd210
49 changed files with 362 additions and 282 deletions
|
|
@ -82,4 +82,4 @@ var DumpAPI = {
|
|||
DumpAPI.asDiskCommands = [DumpAPI.QUERY.DIR, DumpAPI.QUERY.DISK, DumpAPI.QUERY.PATH];
|
||||
DumpAPI.asFileCommands = [DumpAPI.QUERY.FILE];
|
||||
|
||||
module.exports = DumpAPI;
|
||||
if (NODE) module.exports = DumpAPI;
|
||||
|
|
|
|||
Loading…
Reference in a new issue