From 4183b1244ff01e544ed7d18ef899f4e73086f320 Mon Sep 17 00:00:00 2001 From: phet-steele Date: Tue, 8 Aug 2017 09:51:07 -0600 Subject: [PATCH] Lint fix --- js/scenery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/scenery.js b/js/scenery.js index 5e02e1b69..e217ce1eb 100644 --- a/js/scenery.js +++ b/js/scenery.js @@ -362,7 +362,7 @@ define( function( require ) { var serialization = { id: node.id, type: 'Node', - types: inheritance( node.constructor ).map( function( type ) { return type.name } ).filter( function( name ) { + types: inheritance( node.constructor ).map( function( type ) { return type.name; } ).filter( function( name ) { return name && name !== 'Object' && name !== 'Node'; } ), name: node.constructor.name,