From 7bf265b47877ff11dadbf34a47a29465547a240e Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Thu, 28 Jul 2016 15:52:52 -0700 Subject: [PATCH] [API] Move mct service up --- src/MCT.js | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/MCT.js b/src/MCT.js index 46aee49a3b..e7ba634f12 100644 --- a/src/MCT.js +++ b/src/MCT.js @@ -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) {