Firefox 35 implements ES6's "temporal dead zone" making it invalid to access a
let variable before its initialization. Hence "let foo" shoulde precede any
calls to inner functions that use "foo".
Without the fix the module fails under Firefox 35 with the error:
ReferenceError: can't access let declaration `widgetViews' before initialization
The fix is trivial, just move "let widgetViews" a bit higher up (before the setPanelPlaceholder call).
Firefox 35 implements ES6's "temporal dead zone" making it invalid to access a let variable before its initialization. Hence "let foo" shoulde precede any calls to inner functions that use "foo".
Without the fix the module fails under Firefox 35 with the error: ReferenceError: can't access let declaration `widgetViews' before initialization
The fix is trivial, just move "let widgetViews" a bit higher up (before the setPanelPlaceholder call).