fixing async

pull/2035/head
filip mertens 3 years ago
parent e2cbb3b4d2
commit 0919d01830
  1. 4
      apps/remix-ide/src/app/files/fileProvider.js
  2. 1
      apps/remix-ide/src/index.html
  3. 1
      apps/remix-ide/src/production.index.html
  4. 438
      package-lock.json

@ -47,7 +47,7 @@ class FileProvider {
return this.externalFolders.includes(path)
}
discardChanges (path, toastCb, modalCb) {
async discardChanges (path, toastCb, modalCb) {
this.remove(path)
const compilerImport = new CompilerImports()
this.providerExternalsStorage.keys().map(value => {
@ -56,7 +56,7 @@ class FileProvider {
this.getNormalizedName(value),
true,
(loadingMsg) => { toastCb(loadingMsg) },
(error, content, cleanUrl, type, url) => {
async (error, content, cleanUrl, type, url) => {
if (error) {
modalCb(error)
} else {

@ -58,6 +58,7 @@
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/intro.js/2.7.0/introjs.min.css">
</head>
<body>
<div id="root"></div>
<script type="text/javascript" src="assets/js/init.js"></script>
<script src="runtime.js" type="module"></script>
<script src="polyfills.js" type="module"></script>

@ -58,6 +58,7 @@
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/intro.js/2.7.0/introjs.min.css">
</head>
<body>
<div id="root"></div>
<script type="text/javascript" src="assets/js/init.js"></script>
<script src="polyfills.js" type="module"></script>
<script src="https://kit.fontawesome.com/41dd021e94.js" crossorigin="anonymous"></script>

438
package-lock.json generated

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save