dist/tgi-interface-bootstrap.js
function (args) {
  if (false === (this instanceof MemoryStore)) throw new Error('new operator required');
  args = args || {};
  this.storeType = args.storeType || "MemoryStore";
  this.name = args.name || 'a ' + this.storeType;
  this.storeProperty = {
    isReady: true,
    canGetModel: true,
    canPutModel: true,
    canDeleteModel: true,
    canGetList: true
  };
  this.data = [];// Each ele is an array of model types and contents (which is an array of IDs and Model Value Store)
  this.idCounter = 0;
  var unusedProperties = getInvalidProperties(args, ['name', 'storeType']);
  var errorList = [];
  for (var i = 0; i < unusedProperties.length; i++) errorList.push('invalid property: ' + unusedProperties[i]);
  if (errorList.length > 1) throw new Error('error creating Store: multiple errors');
  if (errorList.length) throw new Error('error creating Store: ' + errorList[0]);
}
function (args) {
  if (false === (this instanceof MemoryStore)) throw new Error('new operator required');
  args = args || {};
  this.storeType = args.storeType || "MemoryStore";
  this.name = args.name || 'a ' + this.storeType;
  this.storeProperty = {
    isReady: true,
    canGetModel: true,
    canPutModel: true,
    canDeleteModel: true,
    canGetList: true
  };
  this.data = [];// Each ele is an array of model types and contents (which is an array of IDs and Model Value Store)
  this.idCounter = 0;
  var unusedProperties = getInvalidProperties(args, ['name', 'storeType']);
  var errorList = [];
  for (var i = 0; i < unusedProperties.length; i++) errorList.push('invalid property: ' + unusedProperties[i]);
  if (errorList.length > 1) throw new Error('error creating Store: multiple errors');
  if (errorList.length) throw new Error('error creating Store: ' + errorList[0]);
}
function ( args ) { if ( false === ( this instanceof MemoryStore ) ) throw new Error ( 'new operator required' ) ; args = args || { } ; this . storeType = args . storeType || "MemoryStore" ; this . name = args . name || 'a ' + this . storeType ; this . storeProperty = { isReady : true , canGetModel : true , canPutModel : true , canDeleteModel : true , canGetList : true } ; this . data = [ ] ; // Each ele is an array of model types and contents (which is an array of IDs and Model Value Store) this . idCounter = 0 ; var unusedProperties = getInvalidProperties ( args , [ 'name' , 'storeType' ] ) ; var errorList = [ ] ; for ( var i = 0 ; i < unusedProperties . length ; i ++ ) errorList . push ( 'invalid property: ' + unusedProperties [ i ] ) ; if ( errorList . length > 1 ) throw new Error ( 'error creating Store: multiple errors' ) ; if ( errorList . length ) throw new Error ( 'error creating Store: ' + errorList [ 0 ] ) ; }
tequila
memory-store
 Constructor
tequila memory - store Constructor