Skip to content

Commit

Permalink
FlowView --> FlowScreenView, #293
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Aug 14, 2017
1 parent 5ec7fb0 commit 687c374
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions js/flow/FlowScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ define( function( require ) {
// modules
var fluidPressureAndFlow = require( 'FLUID_PRESSURE_AND_FLOW/fluidPressureAndFlow' );
var FlowModel = require( 'FLUID_PRESSURE_AND_FLOW/flow/model/FlowModel' );
var FlowView = require( 'FLUID_PRESSURE_AND_FLOW/flow/view/FlowView' );
var FlowScreenView = require( 'FLUID_PRESSURE_AND_FLOW/flow/view/FlowScreenView' );
var inherit = require( 'PHET_CORE/inherit' );
var Image = require( 'SCENERY/nodes/Image' );
var Screen = require( 'JOIST/Screen' );
Expand All @@ -33,7 +33,7 @@ define( function( require ) {

Screen.call( this,
function() { return new FlowModel(); },
function( model ) { return new FlowView( model ); },
function( model ) { return new FlowScreenView( model ); },
options
);
}
Expand Down
6 changes: 3 additions & 3 deletions js/flow/view/FlowView.js → js/flow/view/FlowScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ define( function( require ) {
* @param {FlowModel} flowModel of the simulation
* @constructor
*/
function FlowView( flowModel ) {
function FlowScreenView( flowModel ) {

var self = this;
ScreenView.call( this, Constants.SCREEN_VIEW_OPTIONS );
Expand Down Expand Up @@ -327,9 +327,9 @@ define( function( require ) {
toolsLayer.moveToFront();
}

fluidPressureAndFlow.register( 'FlowView', FlowView );
fluidPressureAndFlow.register( 'FlowScreenView', FlowScreenView );

return inherit( ScreenView, FlowView, {
return inherit( ScreenView, FlowScreenView, {

/**
* Called by the animation loop.
Expand Down

0 comments on commit 687c374

Please sign in to comment.