Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app.getAsync = function() {
- return new Promise(function(resolve, reject) {
- var args = [].slice.call(arguments);
- args.push(resolve);
- app.get.apply(this, args);
- });
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement