diff --git a/js/Sim.js b/js/Sim.js index fcb2f040..0270f4f0 100644 --- a/js/Sim.js +++ b/js/Sim.js @@ -423,6 +423,9 @@ define( function( require ) { updateBackground(); } ); } + else { + throw new Error( "invalid value for options.screenDisplayStrategy: " + options.screenDisplayStrategy ); + } // layer for popups, dialogs, and their backgrounds and barriers this.topLayer = new Node( { renderer: 'svg' } );