Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 527310 - codeEdit: Build is broken on javascript ternworker.js
  • Loading branch information
libingw committed Nov 16, 2017
1 parent f8a29be commit fb91fa7
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
@@ -0,0 +1,20 @@
/*******************************************************************************
* @license
* Copyright (c) 2015 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials are made
* available under the terms of the Eclipse Public License v1.0
* (http://www.eclipse.org/legal/epl-v10.html), and the Eclipse Distribution
* License v1.0 (http://www.eclipse.org/org/documents/edl-v10.html).
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
/*eslint-env node, browser*/
/*globals importScripts */
importScripts( '../../orion/requireErrorHandler.js', '../../requirejs/require.js'); // synchronous //$NON-NLS-1$
require(["../../orion/require-config.js"], function(config){
require.config({
baseUrl: "../../"
});
require(["javascript/plugins/ternWorkerCore"], null, self.errback);
}, self.errback);
Expand Up @@ -320,7 +320,7 @@
optimize="uglify2" />
<copy file="${orionClient}/bundles/org.eclipse.orion.client.ui/web/embeddedEditor/plugins/jsonPlugin.html" tofile="${out}/codeEdit/others/plugins/languages/json/jsonPlugin.html" />
<copy file="${orionClient}/bundles/org.eclipse.orion.client.ui/web/embeddedEditor/plugins/jslintPlugin.html" tofile="${out}/codeEdit/others/plugins/jslintPlugin.html" />
<copy file="${orionClient}/bundles/org.eclipse.orion.client.javascript/web/javascript/plugins/ternWorker.js" tofile="${out}/codeEdit/javascript/plugins/ternWorker.js" />
<copy file="${orionClient}/bundles/org.eclipse.orion.client.ui/web/embeddedEditor/plugins/ternWorker.js" tofile="${out}/codeEdit/javascript/plugins/ternWorker.js" />
<copy file="${orionClient}/bundles/org.eclipse.orion.client.core/web/orion/require-config.js" tofile="${out}/codeEdit/orion/require-config.js" />
<copy file="${orionClient}/bundles/org.eclipse.orion.client.core/web/orion/requireErrorHandler.js" tofile="${out}/codeEdit/orion/requireErrorHandler.js" />
<copy file="${orionClient}/bundles/org.eclipse.orion.client.core/web/requirejs/require.min.js" tofile="${out}/codeEdit/requirejs/require.min.js" />
Expand Down

0 comments on commit fb91fa7

Please sign in to comment.