index.html 1.6 KB

1234567891011121314151617181920212223
  1. <!doctype html><html lang="en" class="theme-light"><head><script>self["MonacoEnvironment"] = (function (paths) {
  2. return {
  3. globalAPI: false,
  4. getWorkerUrl : function (moduleId, label) {
  5. var result = paths[label];
  6. if (/^((http:)|(https:)|(file:)|(\/\/))/.test(result)) {
  7. var currentUrl = String(window.location);
  8. var currentOrigin = currentUrl.substr(0, currentUrl.length - window.location.hash.length - window.location.search.length - window.location.pathname.length);
  9. if (result.substring(0, currentOrigin.length) !== currentOrigin) {
  10. var js = '/*' + label + '*/importScripts("' + result + '");';
  11. var blob = new Blob([js], { type: 'application/javascript' });
  12. return URL.createObjectURL(blob);
  13. }
  14. }
  15. return result;
  16. }
  17. };
  18. })({
  19. "editorWorkerService": "./monacoeditorwork/editor.worker.bundle.js",
  20. "json": "./monacoeditorwork/json.worker.bundle.js",
  21. "typescript": "./monacoeditorwork/ts.worker.bundle.js",
  22. "javascript": "./monacoeditorwork/ts.worker.bundle.js"
  23. });</script><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta http-equiv="X-UA-Compatible" content="IE=edge"><link rel="icon" href="./favicon.ico"/><title>Apidoc</title><script type="module" crossorigin src="./assets/index.c1bbda19.js"></script><link rel="stylesheet" href="./assets/index.aacaef05.css"></head><body><div id="app"></div><script src="./config.js?v=3.0.5"></script></body></html>