mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
VM emits MIC_LISTENING
This commit is contained in:
parent
f5edcfa3bb
commit
e2a79ed58f
1 changed files with 3 additions and 0 deletions
|
@ -117,6 +117,9 @@ class VirtualMachine extends EventEmitter {
|
||||||
this.runtime.on(Runtime.PERIPHERAL_SCAN_TIMEOUT, () =>
|
this.runtime.on(Runtime.PERIPHERAL_SCAN_TIMEOUT, () =>
|
||||||
this.emit(Runtime.PERIPHERAL_SCAN_TIMEOUT)
|
this.emit(Runtime.PERIPHERAL_SCAN_TIMEOUT)
|
||||||
);
|
);
|
||||||
|
this.runtime.on(Runtime.MIC_LISTENING, listening => {
|
||||||
|
this.emit(Runtime.MIC_LISTENING, listening);
|
||||||
|
});
|
||||||
|
|
||||||
this.extensionManager = new ExtensionManager(this.runtime);
|
this.extensionManager = new ExtensionManager(this.runtime);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue