NOW MANAGED ON CODEBERG
Updated readme attribution and fixed eslint issues
Dan Brown69ac425903d2
diff --git a/readme.md b/readme.mdindex 6c4811b39..66bf93471 100644--- a/readme.md+++ b/readme.md@@ -140,9 +140,12 @@ Note: This is not an exhaustive list of all libraries and projects that would be* [OneLogin's SAML PHP Toolkit](https://github.com/onelogin/php-saml) - _[MIT](https://github.com/onelogin/php-saml/blob/master/LICENSE)_* [League/CommonMark](https://commonmark.thephpleague.com/) - _[BSD-3-Clause](https://github.com/thephpleague/commonmark/blob/2.2/LICENSE)_* [League/Flysystem](https://flysystem.thephpleague.com) - _[MIT](https://github.com/thephpleague/flysystem/blob/3.x/LICENSE)_+* [League/html-to-markdown](https://github.com/thephpleague/html-to-markdown) - _[MIT](https://github.com/thephpleague/html-to-markdown/blob/master/LICENSE)_+* [League/oauth2-client](https://oauth2-client.thephpleague.com/) - _[MIT](https://github.com/thephpleague/oauth2-client/blob/master/LICENSE)_* [pragmarx/google2fa](https://github.com/antonioribeiro/google2fa) - _[MIT](https://github.com/antonioribeiro/google2fa/blob/8.x/LICENSE.md)_* [Bacon/BaconQrCode](https://github.com/Bacon/BaconQrCode) - _[BSD-2-Clause](https://github.com/Bacon/BaconQrCode/blob/master/LICENSE)_* [phpseclib](https://github.com/phpseclib/phpseclib) - _[MIT](https://github.com/phpseclib/phpseclib/blob/master/LICENSE)_* [Clockwork](https://github.com/itsgoingd/clockwork) - _[MIT](https://github.com/itsgoingd/clockwork/blob/master/LICENSE)_* [PHPStan](https://phpstan.org/) & [Larastan](https://github.com/nunomaduro/larastan) - _[MIT](https://github.com/phpstan/phpstan/blob/master/LICENSE) and [MIT](https://github.com/nunomaduro/larastan/blob/master/LICENSE.md)_* [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) - _[BSD 3-Clause](https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt)_+* [JakeArchibald/IDB-Keyval](https://github.com/jakearchibald/idb-keyval) - _[Apache-2.0](https://github.com/jakearchibald/idb-keyval/blob/main/LICENCE)_diff --git a/resources/js/services/store.js b/resources/js/services/store.jsindex be41fc1fb..a803be284 100644--- a/resources/js/services/store.js+++ b/resources/js/services/store.js@@ -1 +1 @@-export { get, set, del } from 'idb-keyval';+export {get, set, del} from 'idb-keyval';diff --git a/resources/js/services/util.js b/resources/js/services/util.jsindex 0a8966f15..d9c3bd0e9 100644--- a/resources/js/services/util.js+++ b/resources/js/services/util.js@@ -5,11 +5,11 @@* leading edge, instead of the trailing.* @attribution https://davidwalsh.name/javascript-debounce-function* @param {Function} func- * @param {Number} wait+ * @param {Number} waitMs* @param {Boolean} immediate* @returns {Function}*/-export function debounce(func, wait, immediate) {+export function debounce(func, waitMs, immediate) {let timeout;return function debouncedWrapper(...args) {const context = this;@@ -19,7 +19,7 @@ export function debounce(func, wait, immediate) {};const callNow = immediate && !timeout;clearTimeout(timeout);- timeout = setTimeout(later, wait);+ timeout = setTimeout(later, waitMs);if (callNow) func.apply(context, args);};}