[JSDoc] Add annotations
Bulk-add JSDoc annotations, WTD-1482.
This commit is contained in:
@@ -44,6 +44,8 @@ define(
|
||||
* arguments) are private; each call returns a new instance.
|
||||
*
|
||||
* @returns {Function}
|
||||
* @constructor
|
||||
* @memberof platform/core
|
||||
*/
|
||||
function Topic() {
|
||||
var topics = {};
|
||||
@@ -71,6 +73,7 @@ define(
|
||||
/**
|
||||
* Use and (if necessary) create a new topic.
|
||||
* @param {string} [key] name of the topic to use
|
||||
* @memberof platform/core.Topic#
|
||||
*/
|
||||
return function (key) {
|
||||
if (arguments.length < 1) {
|
||||
@@ -85,3 +88,4 @@ define(
|
||||
return Topic;
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user