mirror of
https://github.com/nasa/openmct.git
synced 2025-03-10 22:43:55 +00:00
[API] JSDoc for openmct.start()
This commit is contained in:
parent
bd796f2beb
commit
f27c41014d
12
src/MCT.js
12
src/MCT.js
@ -20,7 +20,7 @@ define([
|
||||
|
||||
/**
|
||||
* The Open MCT application.
|
||||
|
||||
|
||||
* @constructor
|
||||
* @memberof module:openmct
|
||||
*/
|
||||
@ -111,6 +111,11 @@ define([
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* Register a new [type]{@link module:openmct.Type} of domain object.
|
||||
* @param {string} key a unique identifier for this type of object
|
||||
* @param {module:openmct.Type} type the new type
|
||||
*/
|
||||
MCT.prototype.type = function (key, type) {
|
||||
var legacyDef = type.toLegacyDefinition();
|
||||
legacyDef.key = key;
|
||||
@ -129,6 +134,11 @@ define([
|
||||
return new Dialog(view, title).show();
|
||||
};
|
||||
|
||||
/**
|
||||
* Start running Open MCT. This should be called only after any plugins
|
||||
* have been installed.
|
||||
* @fires module:openmct.MCT#start
|
||||
*/
|
||||
MCT.prototype.start = function () {
|
||||
this.legacyExtension('runs', {
|
||||
depends: ['navigationService'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user