We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c51f5cb commit eb3bbf4Copy full SHA for eb3bbf4
src/lib/vm-listener-hoc.jsx
@@ -22,6 +22,7 @@ import {
22
setHasCloudVariables
23
} from '../reducers/tw';
24
import {setCustomStageSize} from '../reducers/custom-stage-size';
25
+import implementGuiAPI from './tw-extension-gui-api';
26
27
let compileErrorCounter = 0;
28
@@ -73,6 +74,7 @@ const vmListenerHOC = function (WrappedComponent) {
73
74
this.props.vm.on('COMPILE_ERROR', this.handleCompileError);
75
this.props.vm.on('RUNTIME_STARTED', this.props.onClearCompileErrors);
76
this.props.vm.on('STAGE_SIZE_CHANGED', this.props.onStageSizeChanged);
77
+ this.props.vm.on('CREATE_UNSANDBOXED_EXTENSION_API', implementGuiAPI);
78
}
79
componentDidMount () {
80
if (this.props.attachKeyboardEvents) {
0 commit comments