Skip to content

Commit

Permalink
Addressed REVIEW: Updating tandem reference to screenView. #48
Browse files Browse the repository at this point in the history
  • Loading branch information
Denz1994 committed Jan 23, 2019
1 parent 90a9744 commit 8c39cb6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion js/bounce/BounceScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ define( require => {
model.addDefaultMasses( modelTandem );
return model;
},
// REVIEW: In general, do we need `tandem.createTandem( 'view' )`?
model => { return new BounceScreenView( model, tandem.createTandem( 'view' ) ); },
options
);
Expand Down
2 changes: 1 addition & 1 deletion js/lab/LabScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ define( require => {

super(
() => new LabModel( tandem.createTandem( 'model' ), options ),
model => { return new LabScreenView( model, tandem ); },
model => { return new LabScreenView( model, tandem.createTandem( 'view' ) ); },
options
);
}
Expand Down

0 comments on commit 8c39cb6

Please sign in to comment.