dist/tgi-store-json-file.spec.js
function hesDeadJim(model, error) {
          if (typeof error != 'undefined') {
            if ((error != 'Error: id not found in store') && (error != 'Error: model not found in store')) {
              callback(error);
              return;
            }
          } else {
            callback(Error('no error deleting stooge when expected'));
            return;
          }
          // Skip List test if subclass can't do
          if (!spec.integrationStore.getServices().canGetList) {
            callback(true);
          } else {
            // Now create a list from the stooge store
            var list = new List(new self.Stooge());
            try {
              spec.integrationStore.getList(list, {}, {name:1}, listReady);
            }
            catch (err) {
              callback(err);
            }
          }
        }
function hesDeadJim(model, error) {
          if (typeof error != 'undefined') {
            if ((error != 'Error: id not found in store') && (error != 'Error: model not found in store')) {
              callback(error);
              return;
            }
          } else {
            callback(Error('no error deleting stooge when expected'));
            return;
          }
          // Skip List test if subclass can't do
          if (!spec.integrationStore.getServices().canGetList) {
            callback(true);
          } else {
            // Now create a list from the stooge store
            var list = new List(new self.Stooge());
            try {
              spec.integrationStore.getList(list, {}, {name:1}, listReady);
            }
            catch (err) {
              callback(err);
            }
          }
        }
function hesDeadJim ( model , error ) { if ( typeof error != 'undefined' ) { if ( ( error != 'Error: id not found in store' ) && ( error != 'Error: model not found in store' ) ) { callback ( error ) ; return ; } } else { callback ( Error ( 'no error deleting stooge when expected' ) ) ; return ; } // Skip List test if subclass can't do if ( ! spec . integrationStore . getServices ( ) . canGetList ) { callback ( true ) ; } else { // Now create a list from the stooge store var list = new List ( new self . Stooge ( ) ) ; try { spec . integrationStore . getList ( list , { } , { name : 1 } , listReady ) ; } catch ( err ) { callback ( err ) ; } } }
callback after lookup of dead stooge
callback after lookup of dead stooge