mirror of
https://github.com/nasa/openmct.git
synced 2024-12-18 20:57:53 +00:00
[API] Implement TypeRegistry methods
This commit is contained in:
parent
1fde82e673
commit
91214f2623
@ -8,7 +8,7 @@ define([], function () {
|
||||
* @memberof module:openmct
|
||||
*/
|
||||
function TypeRegistry() {
|
||||
|
||||
this.types = {};
|
||||
}
|
||||
|
||||
/**
|
||||
@ -20,7 +20,7 @@ define([], function () {
|
||||
* @memberof module:openmct.TypeRegistry#
|
||||
*/
|
||||
TypeRegistry.prototype.addType = function (typeKey, type) {
|
||||
|
||||
this.types[typeKey] = type;
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user