[API] Implement TypeRegistry methods

This commit is contained in:
Victor Woeltjen 2016-09-29 17:26:27 -07:00
parent 1fde82e673
commit 91214f2623

View File

@ -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;
};