Last change
on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
299 bytes
|
Line | |
---|
1 | /*
|
---|
2 | MIT License http://www.opensource.org/licenses/mit-license.php
|
---|
3 | Author Tobias Koppers @sokra
|
---|
4 | */
|
---|
5 |
|
---|
6 | "use strict";
|
---|
7 |
|
---|
8 | module.exports = {
|
---|
9 | versions: {},
|
---|
10 | nextTick(fn) {
|
---|
11 | const args = Array.prototype.slice.call(arguments, 1);
|
---|
12 | Promise.resolve().then(function () {
|
---|
13 | fn.apply(null, args);
|
---|
14 | });
|
---|
15 | }
|
---|
16 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.