2 * DO NOT EDIT THIS FILE.
3 * See the following change record for more information,
4 * https://www.drupal.org/node/2815083
8 Drupal.debounce = function (func, wait, immediate) {
14 var later = function later() {
17 result = func.apply(context, args);
20 var callNow = immediate && !timeout;
21 clearTimeout(timeout);
22 timeout = setTimeout(later, wait);
24 result = func.apply(context, args);