This commit is contained in:
Antonin Stefanutti 2017-09-24 21:29:18 +02:00
parent 14bbc26d04
commit 111117f91d
2 changed files with 2 additions and 7 deletions

7
.vscode/launch.json vendored
View File

@ -11,11 +11,8 @@
"protocol": "inspector",
"program": "${workspaceRoot}/decktape.js",
"args": [
"http://astefanutti.github.io/further-cdi", "test.pdf"
],
"env": {
"NODE_PATH": "./libs"
}
"http://remarkjs.com/", "test.pdf"
]
}
]
}

View File

@ -1,7 +1,5 @@
'use strict';
module.exports.call = f => async val => { await f(val); return val };
module.exports.delay = delay => value => new Promise(resolve => setTimeout(resolve, delay, value));
module.exports.pause = delay => new Promise(resolve => setTimeout(resolve, delay));