I see 12 occurrence of
assert && phet.chipper.queryParameters.binder ...
For example, in Slider.js:
// support for binder documentation, stripped out in builds and only runs when ?binder is specified
assert && phet.chipper.queryParameters.binder && InstanceRegistry.registerDataURL( 'sun', 'Slider', this );
Using assert in this way (to strip out things other than assert) seems a bit questionable. Labeling for discussion at developer meeting.
I see 12 occurrence of
assert && phet.chipper.queryParameters.binder...For example, in Slider.js:
Using
assertin this way (to strip out things other thanassert) seems a bit questionable. Labeling for discussion at developer meeting.