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