Pārlūkot izejas kodu

Fix test page paths

Alex Dima 7 gadi atpakaļ
vecāks
revīzija
becf53e270
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      test/index.html

+ 3 - 3
test/index.html

@@ -12,7 +12,7 @@
 
 
 <script>
 <script>
 	var paths = {
 	var paths = {
-		'vs/language/typescript': '../out',
+		'vs/language/typescript': '../release/dev',
 		'vs': '../node_modules/monaco-editor-core/dev/vs'
 		'vs': '../node_modules/monaco-editor-core/dev/vs'
 	};
 	};
 	if (document.location.protocol === 'http:') {
 	if (document.location.protocol === 'http:') {
@@ -20,7 +20,7 @@
 		let testIndex = document.location.pathname.indexOf('/test/');
 		let testIndex = document.location.pathname.indexOf('/test/');
 		if (testIndex !== -1) {
 		if (testIndex !== -1) {
 			let prefix = document.location.pathname.substr(0, testIndex);
 			let prefix = document.location.pathname.substr(0, testIndex);
-			paths['vs/language/typescript'] = prefix + '/out';
+			paths['vs/language/typescript'] = prefix + '/release/dev';
 		}
 		}
 	}
 	}
 	var require = {
 	var require = {
@@ -33,7 +33,7 @@
 
 
 <script>
 <script>
 	require([
 	require([
-		'vs/language/typescript/src/monaco.contribution'
+		'vs/language/typescript/monaco.contribution'
 	], function() {
 	], function() {
 		var editor = monaco.editor.create(document.getElementById('container'), {
 		var editor = monaco.editor.create(document.getElementById('container'), {
 			value: [
 			value: [