projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
misc
/
debounce.es6.js
diff --git
a/web/core/misc/debounce.es6.js
b/web/core/misc/debounce.es6.js
index e77940b9efa3883f82032f007e8b55a88ba2ee29..2defb4514f14957ca52c49c0ef6eb4262cf4b070 100644
(file)
--- a/
web/core/misc/debounce.es6.js
+++ b/
web/core/misc/debounce.es6.js
@@
-26,12
+26,12
@@
* @return {function}
* The debounced function.
*/
* @return {function}
* The debounced function.
*/
-Drupal.debounce = function
(func, wait, immediate) {
+Drupal.debounce = function(func, wait, immediate) {
let timeout;
let result;
let timeout;
let result;
- return function
(...args) {
+ return function(...args) {
const context = this;
const context = this;
- const later = function
() {
+ const later = function() {
timeout = null;
if (!immediate) {
result = func.apply(context, args);
timeout = null;
if (!immediate) {
result = func.apply(context, args);