[API] Move mct service up

This commit is contained in:
Victor Woeltjen 2016-07-28 15:52:52 -07:00
parent 1d31fe8d02
commit 7bf265b478

View File

@ -21,7 +21,16 @@ define([
) { ) {
function MCT() { function MCT() {
EventEmitter.call(this); EventEmitter.call(this);
this.legacyBundle = { extensions: {} }; this.legacyBundle = { extensions: {
services: [
{
key: "mct",
implementation: function () {
return this;
}.bind(this)
}
]
} };
this.selection = new Selection(); this.selection = new Selection();
this.on('navigation', this.selection.clear.bind(this.selection)); this.on('navigation', this.selection.clear.bind(this.selection));
@ -86,13 +95,6 @@ define([
region: region, region: region,
key: viewKey key: viewKey
}); });
this.legacyExtension('services', {
key: 'PublicAPI',
implementation: function () {
return this;
}.bind(this)
});
}; };
MCT.prototype.type = function (key, type) { MCT.prototype.type = function (key, type) {