|
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 |
|
|---|
| 3 | var define = require('define-properties');
|
|---|
| 4 | var util = require('util');
|
|---|
| 5 |
|
|---|
| 6 | var implementation = require('./implementation');
|
|---|
| 7 | var getPolyfill = require('./polyfill');
|
|---|
| 8 | var polyfill = getPolyfill();
|
|---|
| 9 | var shim = require('./shim');
|
|---|
| 10 |
|
|---|
| 11 | /* eslint-disable no-unused-vars */
|
|---|
| 12 | var boundPromisify = function promisify(orig) {
|
|---|
| 13 | /* eslint-enable no-unused-vars */
|
|---|
| 14 | return polyfill.apply(util, arguments);
|
|---|
| 15 | };
|
|---|
| 16 | define(boundPromisify, {
|
|---|
| 17 | custom: polyfill.custom,
|
|---|
| 18 | customPromisifyArgs: polyfill.customPromisifyArgs,
|
|---|
| 19 | getPolyfill: getPolyfill,
|
|---|
| 20 | implementation: implementation,
|
|---|
| 21 | shim: shim
|
|---|
| 22 | });
|
|---|
| 23 |
|
|---|
| 24 | module.exports = boundPromisify;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.