From 6a069846787c58551796756e6be9f193d1275bc0 Mon Sep 17 00:00:00 2001 From: Christopher Willis-Ford Date: Tue, 6 Mar 2018 16:22:18 -0800 Subject: [PATCH] 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. --- src/extension-support/reporter-scope.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/extension-support/reporter-scope.js diff --git a/src/extension-support/reporter-scope.js b/src/extension-support/reporter-scope.js new file mode 100644 index 000000000..159d4b1c5 --- /dev/null +++ b/src/extension-support/reporter-scope.js @@ -0,0 +1,6 @@ +const ReporterScope = { + GLOBAL: 'global', + SPRITE: 'sprite' +}; + +module.exports = ReporterScope;