source: trip-planner-front/node_modules/async/internal/initialParams.js@ 8d391a1

Last change on this file since 8d391a1 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 514 bytes
RevLine 
[6a3a178]1'use strict';
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6
7exports.default = function (fn) {
8 return function () /*...args, callback*/{
9 var args = (0, _slice2.default)(arguments);
10 var callback = args.pop();
11 fn.call(this, args, callback);
12 };
13};
14
15var _slice = require('./slice');
16
17var _slice2 = _interopRequireDefault(_slice);
18
19function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
20
21module.exports = exports['default'];
Note: See TracBrowser for help on using the repository browser.