-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
corrected the crash IOBROKER-JAVASCRIPT-40 corrected typescript for async/await
- Loading branch information
1 parent
ab1b6de
commit b9b6a90
Showing
13 changed files
with
60 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
{ | ||
"files": { | ||
"main.css": "/static/css/main.ec63fb86.chunk.css", | ||
"main.js": "/static/js/main.54c178ee.chunk.js", | ||
"main.js.map": "/static/js/main.54c178ee.chunk.js.map", | ||
"main.js": "/static/js/main.0fa88297.chunk.js", | ||
"main.js.map": "/static/js/main.0fa88297.chunk.js.map", | ||
"runtime-main.js": "/static/js/runtime-main.36ac425a.js", | ||
"runtime-main.js.map": "/static/js/runtime-main.36ac425a.js.map", | ||
"static/css/2.e0be75cc.chunk.css": "/static/css/2.e0be75cc.chunk.css", | ||
"static/js/2.dad9a102.chunk.js": "/static/js/2.dad9a102.chunk.js", | ||
"static/js/2.dad9a102.chunk.js.map": "/static/js/2.dad9a102.chunk.js.map", | ||
"index.html": "/index.html", | ||
"precache-manifest.ef7df9f62060eec8d63ff7f11c28d5ce.js": "/precache-manifest.ef7df9f62060eec8d63ff7f11c28d5ce.js", | ||
"precache-manifest.01b900830c808143c1ebca533f41758a.js": "/precache-manifest.01b900830c808143c1ebca533f41758a.js", | ||
"service-worker.js": "/service-worker.js", | ||
"static/css/2.e0be75cc.chunk.css.map": "/static/css/2.e0be75cc.chunk.css.map", | ||
"static/css/main.ec63fb86.chunk.css.map": "/static/css/main.ec63fb86.chunk.css.map", | ||
"static/js/2.dad9a102.chunk.js.LICENSE.txt": "/static/js/2.dad9a102.chunk.js.LICENSE.txt", | ||
"static/js/main.54c178ee.chunk.js.LICENSE.txt": "/static/js/main.54c178ee.chunk.js.LICENSE.txt" | ||
"static/js/main.0fa88297.chunk.js.LICENSE.txt": "/static/js/main.0fa88297.chunk.js.LICENSE.txt" | ||
}, | ||
"entrypoints": [ | ||
"static/js/runtime-main.36ac425a.js", | ||
"static/css/2.e0be75cc.chunk.css", | ||
"static/js/2.dad9a102.chunk.js", | ||
"static/css/main.ec63fb86.chunk.css", | ||
"static/js/main.54c178ee.chunk.js" | ||
"static/js/main.0fa88297.chunk.js" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
admin/static/js/main.54c178ee.chunk.js → admin/static/js/main.0fa88297.chunk.js
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
admin/static/js/main.54c178ee.chunk.js.map → admin/static/js/main.0fa88297.chunk.js.map
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,8 +20,20 @@ | |
"Apollon77 <[email protected]>", | ||
"AlCalzone" | ||
], | ||
"version": "4.9.3", | ||
"version": "4.9.4", | ||
"news": { | ||
"4.9.4": { | ||
"en": "corrected the crash IOBROKER-JAVASCRIPT-40\ncorrected typescript for async/await", | ||
"de": "korrigierte den Absturz IOBROKER-JAVASCRIPT-40\nkorrigiertes Typoskript für Async / Warten", | ||
"ru": "исправлен вылет IOBROKER-JAVASCRIPT-40\nисправлен машинописный текст для async / await", | ||
"pt": "corrigiu a falha IOBROKER-JAVASCRIPT-40\ntexto digitado corrigido para assíncrono / espera", | ||
"nl": "de crash gecorrigeerd IOBROKER-JAVASCRIPT-40\ngecorrigeerd typoscript voor async / await", | ||
"fr": "corrigé le crash IOBROKER-JAVASCRIPT-40\ndactylographie corrigé pour async / await", | ||
"it": "corretto il crash IOBROKER-JAVASCRIPT-40\ndattiloscritto corretto per async / await", | ||
"es": "Corregido el bloqueo IOBROKER-JAVASCRIPT-40\nmecanografiado corregido para async / await", | ||
"pl": "poprawiono awarię IOBROKER-JAVASCRIPT-40\npoprawiony maszynopis async / await", | ||
"zh-cn": "更正了崩溃IOBROKER-JAVASCRIPT-40\n更正了用于异步/等待的打字稿" | ||
}, | ||
"4.9.3": { | ||
"en": "Corrected the function calls", | ||
"de": "Funktionsaufrufe korrigiert", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "iobroker.javascript", | ||
"version": "4.9.3", | ||
"version": "4.9.4", | ||
"description": "Javascript/Coffescript Script Engine for ioBroker", | ||
"author": "bluefox <[email protected]>", | ||
"contributors": [ | ||
|
@@ -30,7 +30,7 @@ | |
}, | ||
"dependencies": { | ||
"@iobroker/adapter-core": "^2.4.0", | ||
"@types/node": "^10.17.39", | ||
"@types/node": "^10.17.40", | ||
"@types/request": "^2.48.5", | ||
"coffee-compiler": "^0.3.2", | ||
"coffee-script": "^1.12.7", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
async function wait(ms) { | ||
return new Promise(resolve => setTimeout(() => resolve(), ms)); | ||
} | ||
|
||
function test() { | ||
console.log('test'); | ||
} | ||
|
||
/*setTimeout(async function () { | ||
console.log('Step 1'); | ||
//await wait(1000); | ||
console.log('Step 2'); | ||
}, 2000);*/ | ||
|
||
async function wrapper() { | ||
await test(); | ||
} | ||
|
||
wrapper(); | ||
//.then(() => {}); |