standard fix

This commit is contained in:
Diego Rodríguez Baquero
2021-10-10 13:51:38 -05:00
parent 63b55df637
commit 08a182d165
8 changed files with 15 additions and 15 deletions

View File

@@ -12,7 +12,7 @@ const State = module.exports = Object.assign(new EventEmitter(), {
getDefaultPlayState,
load,
// state.save() calls are rate-limited. Use state.saveImmediate() to skip limit.
save(...args) {
save (...args) {
// Perf optimization: Lazy-require debounce (and it's dependencies)
const debounce = require('debounce')
// After first State.save() invokation, future calls go straight to the