src/extra.js
function loadMonaco(monaco) {
		var deps = [
			'vs/editor/editor.main.nls',
			'vs/editor/editor.main'
		];

		charto.monaco = monaco;

		// Monaco loader sets exports, then gets confused by them.
		exports = void 0;

		return(new Promise(function(resolve, reject) {
			monaco.require(deps, resolve);
		}));
	}
function loadMonaco(monaco) {
		var deps = [
			'vs/editor/editor.main.nls',
			'vs/editor/editor.main'
		];

		charto.monaco = monaco;

		// Monaco loader sets exports, then gets confused by them.
		exports = void 0;

		return(new Promise(function(resolve, reject) {
			monaco.require(deps, resolve);
		}));
	}
function loadMonaco ( monaco ) { var deps = [ 'vs/editor/editor.main.nls' , 'vs/editor/editor.main' ] ; charto . monaco = monaco ; // Monaco loader sets exports, then gets confused by them. exports = void 0 ; return ( new Promise ( function ( resolve , reject ) { monaco . require ( deps , resolve ) ; } ) ) ; }
Fetch main Monaco bundles.
Fetch main Monaco bundles .