[API] Document some public fields

This commit is contained in:
Victor Woeltjen 2016-09-02 15:02:18 -07:00
parent d592bd1035
commit f06f714bdc
2 changed files with 20 additions and 3 deletions

View File

@ -6,7 +6,8 @@ define([
'text!./adapter/templates/edit-object-replacement.html',
'./ui/Dialog',
'./Selection',
'./api/objects/object-utils'
'./api/objects/object-utils',
'./api/TimeConductor'
], function (
EventEmitter,
legacyRegistry,
@ -15,7 +16,8 @@ define([
editObjectTemplate,
Dialog,
Selection,
objectUtils
objectUtils,
TimeConductor
) {
/**
@ -28,7 +30,23 @@ define([
EventEmitter.call(this);
this.legacyBundle = { extensions: {} };
/**
*
* @type {Selection}
* @memberof module:openmct.MCT#
* @name selection
*/
this.selection = new Selection();
/**
*
* @type {TimeConductor}
* @memberof module:openmct.MCT#
* @name conductor
*/
this.conductor = new TimeConductor();
this.TimeConductor = this.conductor; // compatibility for prototype
this.on('navigation', this.selection.clear.bind(this.selection));
}

View File

@ -13,7 +13,6 @@ define([
) {
return {
Type: Type,
TimeConductor: new TimeConductor(),
View: View,
Objects: ObjectAPI,
Composition: CompositionAPI