From ae574663515e0a06910d3fa97e9c55fea5d8b42c Mon Sep 17 00:00:00 2001 From: Jesse Date: Thu, 4 Oct 2018 13:06:37 -0400 Subject: [PATCH] move ControlPoint to common model directory, see #10 --- js/energy-skate-park/{ => common}/model/ControlPoint.js | 2 +- js/energy-skate-park/{ => common}/model/ControlPointIO.js | 0 js/energy-skate-park/model/DebugTracks.js | 2 +- js/energy-skate-park/model/EnergySkateParkModel.js | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename js/energy-skate-park/{ => common}/model/ControlPoint.js (98%) rename js/energy-skate-park/{ => common}/model/ControlPointIO.js (100%) diff --git a/js/energy-skate-park/model/ControlPoint.js b/js/energy-skate-park/common/model/ControlPoint.js similarity index 98% rename from js/energy-skate-park/model/ControlPoint.js rename to js/energy-skate-park/common/model/ControlPoint.js index c7d2a3a6..73a579ca 100644 --- a/js/energy-skate-park/model/ControlPoint.js +++ b/js/energy-skate-park/common/model/ControlPoint.js @@ -19,7 +19,7 @@ define( function( require ) { var Tandem = require( 'TANDEM/Tandem' ); var Vector2 = require( 'DOT/Vector2' ); var Vector2IO = require( 'DOT/Vector2IO' ); - var ControlPointIO = require( 'ENERGY_SKATE_PARK/energy-skate-park/model/ControlPointIO' ); + var ControlPointIO = require( 'ENERGY_SKATE_PARK/energy-skate-park/common/model/ControlPointIO' ); // ifphetio var NullableIO = require( 'ifphetio!PHET_IO/types/NullableIO' ); diff --git a/js/energy-skate-park/model/ControlPointIO.js b/js/energy-skate-park/common/model/ControlPointIO.js similarity index 100% rename from js/energy-skate-park/model/ControlPointIO.js rename to js/energy-skate-park/common/model/ControlPointIO.js diff --git a/js/energy-skate-park/model/DebugTracks.js b/js/energy-skate-park/model/DebugTracks.js index 2cfab17a..abefb98b 100644 --- a/js/energy-skate-park/model/DebugTracks.js +++ b/js/energy-skate-park/model/DebugTracks.js @@ -10,7 +10,7 @@ define( function( require ) { 'use strict'; // modules - var ControlPoint = require( 'ENERGY_SKATE_PARK/energy-skate-park/model/ControlPoint' ); + var ControlPoint = require( 'ENERGY_SKATE_PARK/energy-skate-park/common/model/ControlPoint' ); var energySkatePark = require( 'ENERGY_SKATE_PARK/energySkatePark' ); var EnergySkateParkQueryParameters = require( 'ENERGY_SKATE_PARK/energy-skate-park/EnergySkateParkQueryParameters' ); var inherit = require( 'PHET_CORE/inherit' ); diff --git a/js/energy-skate-park/model/EnergySkateParkModel.js b/js/energy-skate-park/model/EnergySkateParkModel.js index 6b6d1518..7b03d06c 100644 --- a/js/energy-skate-park/model/EnergySkateParkModel.js +++ b/js/energy-skate-park/model/EnergySkateParkModel.js @@ -28,7 +28,7 @@ define( function( require ) { // modules var Bounds2 = require( 'DOT/Bounds2' ); var Bounds2IO = require( 'DOT/Bounds2IO' ); - var ControlPoint = require( 'ENERGY_SKATE_PARK/energy-skate-park/model/ControlPoint' ); + var ControlPoint = require( 'ENERGY_SKATE_PARK/energy-skate-park/common/model/ControlPoint' ); var DebugTracks = require( 'ENERGY_SKATE_PARK/energy-skate-park/model/DebugTracks' ); var Emitter = require( 'AXON/Emitter' ); var energySkatePark = require( 'ENERGY_SKATE_PARK/energySkatePark' );