node-ipc/node-ipc.js

22 lines
400 B
JavaScript
Raw Normal View History

2016-01-10 04:18:14 -08:00
'use strict';
const IPC = require('./services/IPC.js');
2016-01-10 20:59:40 -08:00
class IPCModule extends IPC{
constructor(){
super();
2016-01-10 21:10:58 -08:00
//include IPC to make extensible
2016-01-10 20:59:40 -08:00
Object.defineProperty(
this,
'IPC',
{
enumerable:true,
writable:false,
value:IPC
}
)
}
2014-02-22 01:13:31 -08:00
}
2016-01-10 20:59:40 -08:00
module.exports=new IPCModule;