mirror of
https://github.com/astefanutti/decktape.git
synced 2024-11-22 04:02:21 +03:00
Clean-up
This commit is contained in:
parent
14bbc26d04
commit
111117f91d
7
.vscode/launch.json
vendored
7
.vscode/launch.json
vendored
@ -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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user