mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-25 07:22:33 -05:00
Add enum for reporter scope
Some reporters are sprite-specific, such as the costume name/number or X position of the sprite. Others are global. This enum allows an extension author to specify the scope of a reporter.
This commit is contained in:
parent
2b985fa083
commit
6a06984678
1 changed files with 6 additions and 0 deletions
6
src/extension-support/reporter-scope.js
Normal file
6
src/extension-support/reporter-scope.js
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
const ReporterScope = {
|
||||||
|
GLOBAL: 'global',
|
||||||
|
SPRITE: 'sprite'
|
||||||
|
};
|
||||||
|
|
||||||
|
module.exports = ReporterScope;
|
Loading…
Reference in a new issue