No need for worker proxying in website
parent
f9905fad97
commit
196f355660
|
@ -343,7 +343,7 @@ gulp.task('website', ['clean-website', 'playground-samples'], function() {
|
|||
return (
|
||||
gulp.src('website/**/*', { dot: true })
|
||||
.pipe(es.through(function(data) {
|
||||
if (!data.contents || !/\.(js|html)$/.test(data.path)) {
|
||||
if (!data.contents || !/\.(html)$/.test(data.path)) {
|
||||
return this.emit('data', data);
|
||||
}
|
||||
|
||||
|
|
|
@ -142,11 +142,6 @@
|
|||
|
||||
<script type="text/javascript" src="../release/min/vs/loader.js"></script>
|
||||
<script type="text/javascript">
|
||||
window.MonacoEnvironment = {
|
||||
getWorkerUrl: function(workerId, label) {
|
||||
return 'worker-loader-proxy.js';
|
||||
}
|
||||
};
|
||||
require.config({
|
||||
paths: {
|
||||
vs: '../release/min/vs'
|
||||
|
|
|
@ -4297,11 +4297,6 @@ return {
|
|||
|
||||
<script type="text/javascript" src="../release/min/vs/loader.js"></script>
|
||||
<script type="text/javascript">
|
||||
window.MonacoEnvironment = {
|
||||
getWorkerUrl: function(workerId, label) {
|
||||
return 'worker-loader-proxy.js';
|
||||
}
|
||||
};
|
||||
require.config({
|
||||
paths: {
|
||||
vs: "../release/min/vs"
|
||||
|
|
|
@ -67,11 +67,6 @@
|
|||
|
||||
<script type="text/javascript" src="../release/min/vs/loader.js"></script>
|
||||
<script type="text/javascript">
|
||||
window.MonacoEnvironment = {
|
||||
getWorkerUrl: function(workerId, label) {
|
||||
return 'worker-loader-proxy.js';
|
||||
}
|
||||
};
|
||||
require.config({
|
||||
paths: {
|
||||
vs: "../release/min/vs"
|
||||
|
|
|
@ -22,12 +22,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
window.MonacoEnvironment = {
|
||||
getWorkerUrl: function(workerId, label) {
|
||||
return '../worker-loader-proxy.js';
|
||||
}
|
||||
};
|
||||
|
||||
require.config({
|
||||
paths: {
|
||||
vs: "../../release/min/vs"
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
self.MonacoEnvironment = {
|
||||
baseUrl: '../release/min/'
|
||||
};
|
||||
importScripts('../release/min/vs/base/worker/workerMain.js');
|
Loading…
Reference in New Issue