formacao
This commit is contained in:
+3
-1
@@ -31,7 +31,9 @@ var timing = (config) => {
|
||||
endTime(c, "total");
|
||||
}
|
||||
if (options.autoEnd) {
|
||||
timers.forEach((_, key) => endTime(c, key));
|
||||
timers.forEach((_, key) => {
|
||||
endTime(c, key);
|
||||
});
|
||||
}
|
||||
const enabled = typeof options.enabled === "function" ? options.enabled(c) : options.enabled;
|
||||
if (enabled) {
|
||||
|
||||
Reference in New Issue
Block a user