|
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:
300 bytes
|
| Line | |
|---|
| 1 | import restArguments from './restArguments.js';
|
|---|
| 2 |
|
|---|
| 3 | // Delays a function for the given number of milliseconds, and then calls
|
|---|
| 4 | // it with the arguments supplied.
|
|---|
| 5 | export default restArguments(function(func, wait, args) {
|
|---|
| 6 | return setTimeout(function() {
|
|---|
| 7 | return func.apply(null, args);
|
|---|
| 8 | }, wait);
|
|---|
| 9 | });
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.