mirror of
https://github.com/BreizhHardware/memoizee.git
synced 2026-01-18 16:37:21 +01:00
style: prettier
This commit is contained in:
@@ -20,7 +20,8 @@ extensions.maxAge = function (maxAge, conf, options) {
|
||||
if (!maxAge) return;
|
||||
|
||||
timeouts = create(null);
|
||||
postfix = (options.async && extensions.async) || (options.promise && extensions.promise)
|
||||
postfix =
|
||||
(options.async && extensions.async) || (options.promise && extensions.promise)
|
||||
? "async"
|
||||
: "";
|
||||
conf.on("set" + postfix, function (id) {
|
||||
|
||||
Reference in New Issue
Block a user