mirror of
https://github.com/nasa/openmct.git
synced 2024-12-18 20:57:53 +00:00
[API] Document some public fields
This commit is contained in:
parent
d592bd1035
commit
f06f714bdc
22
src/MCT.js
22
src/MCT.js
@ -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));
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,6 @@ define([
|
||||
) {
|
||||
return {
|
||||
Type: Type,
|
||||
TimeConductor: new TimeConductor(),
|
||||
View: View,
|
||||
Objects: ObjectAPI,
|
||||
Composition: CompositionAPI
|
||||
|
Loading…
Reference in New Issue
Block a user