Skip to content

Commit d9032ea

Browse files
save file
1 parent 57b9d16 commit d9032ea

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

utils/misc/nodejs-terminal/html/snippet-nodejs/v1.0/snippet-nodejs-v1.0.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@
4444
//:
4545

4646

47-
obj.init = function(){
47+
obj.init = async function(){
4848
debug('init');
49-
initdom();
49+
await initdom();
5050

5151

5252
}//init
@@ -55,7 +55,7 @@
5555
//:
5656

5757

58-
function initdom(){
58+
async function initdom(){
5959

6060
viewport = await vm.new();
6161
viewport.pos({x:250,y:200,w:850,h:1100});

0 commit comments

Comments
 (0)