Rename ReporterScope.SPRITE to TARGET & add JSDoc

This commit is contained in:
Christopher Willis-Ford committed 2018-03-20 15:30:34 -07:00
1 parent d3352ac54d
commit 26bc7851bb
1 file changed
+13 -1
+13 -1
View File
@@ -1,6 +1,18 @@
/**
* Indicate the scope for a reporter's value.
* @enum {string}
*/
const ReporterScope = {
/**
* This reporter's value is global and does not depend on context.
*/
GLOBAL: 'global',
SPRITE: 'sprite'
/**
* This reporter's value is specific to a particular target/sprite.
* Another target may have a different value or may not even have a value.
*/
TARGET: 'target'
};
module.exports = ReporterScope;