From 47434e14d7c0c45907025349685437c70807cff4 Mon Sep 17 00:00:00 2001 From: Jonathan Olson Date: Fri, 12 Jan 2018 23:10:36 -0700 Subject: [PATCH] assert => assert && assert fix --- js/common/model/AreaModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/common/model/AreaModel.js b/js/common/model/AreaModel.js index 90178fff..1420e614 100644 --- a/js/common/model/AreaModel.js +++ b/js/common/model/AreaModel.js @@ -31,7 +31,7 @@ define( function( require ) { */ function AreaModel( areas, defaultArea, allowExponents, isProportional, hideProducts ) { - assert( typeof hideProducts === 'boolean' ); + assert && assert( typeof hideProducts === 'boolean' ); var self = this;