mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-17 10:15:45 +01:00
Revert last revision.
This commit is contained in:
@@ -147,9 +147,6 @@ defineModule.modules = [];
|
||||
defineModule.times = { all: 0 };
|
||||
defineModule.time = function time(major, minor, func, self) {
|
||||
let time = Date.now();
|
||||
if (typeof func !== "function")
|
||||
func = self[func];
|
||||
|
||||
try {
|
||||
var res = func.apply(self, Array.slice(arguments, 4));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user