source: frontend/node_modules/util.promisify/index.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 615 bytes
Line 
1'use strict';
2
3var define = require('define-properties');
4var util = require('util');
5
6var implementation = require('./implementation');
7var getPolyfill = require('./polyfill');
8var polyfill = getPolyfill();
9var shim = require('./shim');
10
11/* eslint-disable no-unused-vars */
12var boundPromisify = function promisify(orig) {
13/* eslint-enable no-unused-vars */
14 return polyfill.apply(util, arguments);
15};
16define(boundPromisify, {
17 custom: polyfill.custom,
18 customPromisifyArgs: polyfill.customPromisifyArgs,
19 getPolyfill: getPolyfill,
20 implementation: implementation,
21 shim: shim
22});
23
24module.exports = boundPromisify;
Note: See TracBrowser for help on using the repository browser.