This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let debounce = function (cb, delay) { | |
let timer; | |
return function () { | |
let context = this; | |
clearTimeout(timer); | |
timer = setTimeout(() => { | |
cb.apply(context, arguments); | |
}, delay); | |
}; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* Script to help cleanup the not existing permissions from your roles. | |
* | |
* @code | |
* drush scr clean_permissions.php | |
* drush -y cex | |
* @endcode | |
* |
NewerOlder