mirror of
https://github.com/nasa/openmct.git
synced 2025-06-20 16:10:23 +00:00
[API] Add MCT class
This commit is contained in:
13
src/MCT.js
Normal file
13
src/MCT.js
Normal file
@ -0,0 +1,13 @@
|
||||
define(['EventEmitter'], function (EventEmitter) {
|
||||
function MCT() {
|
||||
EventEmitter.call(this);
|
||||
}
|
||||
|
||||
MCT.prototype = Object.create(EventEmitter.prototype);
|
||||
|
||||
MCT.prototype.start = function () {
|
||||
this.emit('start');
|
||||
};
|
||||
|
||||
return MCT;
|
||||
});
|
Reference in New Issue
Block a user