dist/tgi-store-json-file.spec.js
function stoogeChanged(model, error) {
          if (typeof error != 'undefined') {
            callback(error);
            return;
          }
          self.shouldBeTrue(model.get('name') == 'Curly','Curly');
          var curly = new self.Stooge();
          curly.set('id', model.get('id'));
          try {
            spec.integrationStore.getModel(curly, storeChangedShempToCurly);
          }
          catch (err) {
            callback(err);
          }
        }
function stoogeChanged(model, error) {
          if (typeof error != 'undefined') {
            callback(error);
            return;
          }
          self.shouldBeTrue(model.get('name') == 'Curly','Curly');
          var curly = new self.Stooge();
          curly.set('id', model.get('id'));
          try {
            spec.integrationStore.getModel(curly, storeChangedShempToCurly);
          }
          catch (err) {
            callback(err);
          }
        }
function stoogeChanged ( model , error ) { if ( typeof error != 'undefined' ) { callback ( error ) ; return ; } self . shouldBeTrue ( model . get ( 'name' ) == 'Curly' , 'Curly' ) ; var curly = new self . Stooge ( ) ; curly . set ( 'id' , model . get ( 'id' ) ) ; try { spec . integrationStore . getModel ( curly , storeChangedShempToCurly ) ; } catch ( err ) { callback ( err ) ; } }
callback after storing changed stooge
callback after storing changed stooge