提交 b3b94560 编写于 作者: A Alex Dima

No more need for `nullWorker`

上级 ee499ab7
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
'use strict';
import {IMarkerService} from 'vs/platform/markers/common/markers';
import {IResourceService} from 'vs/editor/common/services/resourceService';
import Modes = require('vs/editor/common/modes');
export class NullWorker {
constructor(
modeId: string,
participants: Modes.IWorkerParticipant[],
@IResourceService resourceService: IResourceService,
@IMarkerService markerService: IMarkerService
) {
// console.log('null worker created');
}
}
......@@ -38,9 +38,6 @@ exports.collectModules = function(args) {
var common = new EntryPoint(result, 'vs/editor/common/languages.common');
var worker = new EntryPoint(result, ['vs/editor/common/languages.common', 'vs/base/common/worker/workerServer', 'vs/editor/common/worker/editorWorkerServer']);
// ---- nullWorker (shared) -----------------------------
worker.define('vs/editor/common/modes/nullWorker');
// ---- vsxml (shared) -----------------------------
common.define('vs/languages/vsxml/common/vsxml');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册