Rename ReporterScope.SPRITE to TARGET & add JSDoc
This commit is contained in:
1 parent
d3352ac54d
commit
26bc7851bb
1 file changed
+13
-1
@@ -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;
|
||||
Reference in new issue
Block a user