Initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
var nodeModel = function (tableModel, synced, syncModel) {
|
||||
this.tableModel = tableModel;
|
||||
|
||||
if (tableModel) {
|
||||
this.tableModel.isSync = function () {
|
||||
return synced || false;
|
||||
};
|
||||
this.tableModel._syncModel = syncModel;
|
||||
this.tableModel.getSyncModel = function () {
|
||||
return syncModel;
|
||||
};
|
||||
this.tableModel.isOwner = function () { return true; };
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = nodeModel;
|
||||
Reference in New Issue
Block a user