From 786ab38a19b17ed127cfd1bd4d51f009f7d42549 Mon Sep 17 00:00:00 2001 From: Jesse Date: Fri, 8 Nov 2019 13:43:30 -0500 Subject: [PATCH] '() => { return' is bad text, see phetsims/energy-skate-park#140 --- js/ThreeNode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ThreeNode.js b/js/ThreeNode.js index 3bd1072..6455f2c 100644 --- a/js/ThreeNode.js +++ b/js/ThreeNode.js @@ -65,7 +65,7 @@ define( require => { preventTransform: true, // Scenery override for transformation pickable: false } ); - this.domNode.calculateDOMBounds = () => { return new Bounds2( 0, 0, 0, 0 ); }; + this.domNode.calculateDOMBounds = () => new Bounds2( 0, 0, 0, 0 ); this.domNode.invalidateDOM(); const forceAcceleration = false;