From 26b05b539768a201bab44929ee3a7a0297d20fb6 Mon Sep 17 00:00:00 2001 From: samreid Date: Tue, 7 Feb 2017 19:55:30 -0700 Subject: [PATCH] Use phetioType option, see https://github.com/phetsims/scenery/issues/603 --- js/types/scenery-phet/TMeasuringTape.js | 35 ------------------------- 1 file changed, 35 deletions(-) delete mode 100644 js/types/scenery-phet/TMeasuringTape.js diff --git a/js/types/scenery-phet/TMeasuringTape.js b/js/types/scenery-phet/TMeasuringTape.js deleted file mode 100644 index d1aa3cb8..00000000 --- a/js/types/scenery-phet/TMeasuringTape.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2016, University of Colorado Boulder - -/** - * - * @author Sam Reid (PhET Interactive Simulations) - * @author Andrew Adare (PhET Interactive Simulations) - */ -define( function( require ) { - 'use strict'; - - // modules - var assertInstanceOf = require( 'PHET_IO/assertions/assertInstanceOf' ); - var phetioInherit = require( 'PHET_IO/phetioInherit' ); - var phetioNamespace = require( 'PHET_IO/phetioNamespace' ); - var TNode = require( 'PHET_IO/types/scenery/nodes/TNode' ); - - /** - * Wrapper type for phet/scenery-phet's MeasuringTape class. - * @param measuringTape - * @param phetioID - * @constructor - */ - function TMeasuringTape( measuringTape, phetioID ) { - TNode.call( this, measuringTape, phetioID ); - assertInstanceOf( measuringTape, phet.sceneryPhet.MeasuringTape ); - } - - phetioInherit( TNode, 'TMeasuringTape', TMeasuringTape, {}, { - documentation: 'A measuring tape with a draggable base and tip' - } ); - - phetioNamespace.register( 'TMeasuringTape', TMeasuringTape ); - - return TMeasuringTape; -} );