|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
527 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 | /**
|
|---|
| 10 | * @type {Record<string, string>}
|
|---|
| 11 | */
|
|---|
| 12 | versions: {},
|
|---|
| 13 | // eslint-disable-next-line jsdoc/reject-function-type
|
|---|
| 14 | /** @param {Function} fn function */
|
|---|
| 15 | nextTick(fn) {
|
|---|
| 16 | // eslint-disable-next-line prefer-rest-params
|
|---|
| 17 | const args = Array.prototype.slice.call(arguments, 1);
|
|---|
| 18 | Promise.resolve().then(() => {
|
|---|
| 19 | // eslint-disable-next-line prefer-spread
|
|---|
| 20 | fn.apply(null, args);
|
|---|
| 21 | });
|
|---|
| 22 | },
|
|---|
| 23 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.