diff --git a/src/adapter/bundle.js b/src/adapter/bundle.js index d0a93abd4d..0e2a4cf304 100644 --- a/src/adapter/bundle.js +++ b/src/adapter/bundle.js @@ -23,7 +23,6 @@ define([ 'legacyRegistry', './actions/ActionDialogDecorator', - './components/NewRootModelProvider', './directives/MCTView', './services/Instantiate', './capabilities/APICapabilityDecorator', @@ -32,7 +31,6 @@ define([ ], function ( legacyRegistry, ActionDialogDecorator, - NewRootModelProvider, MCTView, Instantiate, APICapabilityDecorator, @@ -77,12 +75,6 @@ define([ provides: "actionService", implementation: ActionDialogDecorator, depends: ["openmct"] - }, - { - "provides": "modelService", - "type": "provider", - "implementation": NewRootModelProvider, - "depends": ["openmct"] } ], policies: [ diff --git a/src/adapter/components/NewRootModelProvider.js b/src/adapter/components/NewRootModelProvider.js deleted file mode 100644 index 1de0363622..0000000000 --- a/src/adapter/components/NewRootModelProvider.js +++ /dev/null @@ -1,37 +0,0 @@ -/***************************************************************************** - * Open MCT, Copyright (c) 2014-2016, United States Government - * as represented by the Administrator of the National Aeronautics and Space - * Administration. All rights reserved. - * - * Open MCT is licensed under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * http://www.apache.org/licenses/LICENSE-2.0. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - * - * Open MCT Web includes source code licensed under additional open source - * licenses. See the Open Source Licenses file (LICENSES.md) included with - * this source code distribution or the Licensing information page available - * at runtime from the About dialog for additional information. - *****************************************************************************/ - -define(['../../api/objects/object-utils'], function (utils) { - function NewRootModelProvider(openmct) { - this.openmct = openmct; - } - - NewRootModelProvider.prototype.getModels = function (ids) { - return this.openmct.objects.getRoot().then(function (root) { - return { - ROOT: utils.toOldFormat(root) - }; - }); - }; - - return NewRootModelProvider; -});