main
Last change
on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
388 bytes
|
Rev | Line | |
---|
[79a0317] | 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 | /**
|
---|
| 10 | * @type {Record<string, string>}
|
---|
| 11 | */
|
---|
| 12 | versions: {},
|
---|
| 13 | /**
|
---|
| 14 | * @param {function} fn function
|
---|
| 15 | */
|
---|
| 16 | nextTick(fn) {
|
---|
| 17 | const args = Array.prototype.slice.call(arguments, 1);
|
---|
| 18 | Promise.resolve().then(function () {
|
---|
| 19 | fn.apply(null, args);
|
---|
| 20 | });
|
---|
| 21 | }
|
---|
| 22 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.