mirror of
https://github.com/nasa/openmct.git
synced 2025-05-12 13:33:14 +00:00
[API] Removed API classes from Open MCT prototype. Fixes #1293
This commit is contained in:
parent
4d6a0d4931
commit
8d86ca05da
@ -194,15 +194,13 @@ define([
|
||||
*/
|
||||
this.telemetry = new api.TelemetryAPI(this);
|
||||
|
||||
this.TimeConductor = this.conductor; // compatibility for prototype
|
||||
this.Dialog = api.Dialog;
|
||||
|
||||
this.on('navigation', this.selection.clear.bind(this.selection));
|
||||
}
|
||||
|
||||
MCT.prototype = Object.create(EventEmitter.prototype);
|
||||
|
||||
Object.keys(api).forEach(function (k) {
|
||||
MCT.prototype[k] = api[k];
|
||||
});
|
||||
MCT.prototype.MCT = MCT;
|
||||
|
||||
MCT.prototype.legacyExtension = function (category, extension) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user