Commit 594b1e05 authored by Kamron Aroonrua's avatar Kamron Aroonrua 💬

no events

parent b10ef4ca
......@@ -64,7 +64,6 @@ BSSEngine.prototype.open = function(cb)
}
function open(){
console.log("Open >> " + self.filepath())
BinStream.open(self.filepath(),function(err,bss){
if(!err){
self.bss = bss;
......@@ -117,7 +116,7 @@ BSSEngine.prototype.cmd_write = function(prm,cb)
//dataevent.newdata({'resourceId':obj_id.toString(),'storageId':self.name});
if(self.context){
newdata_event(self.context,{'resourceId':obj_id.toString(),'storageId':self.name});
//newdata_event(self.context,{'resourceId':obj_id.toString(),'storageId':self.name});
}
cb(null,resp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment