mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-30 09:31:53 +08:00
refactoring
This commit is contained in:
@@ -77,7 +77,7 @@ export var tools = new function() {
|
||||
);
|
||||
};
|
||||
|
||||
self.makeClosure = function(func, ...args) {
|
||||
self.partial = function(func, ...args) {
|
||||
return () => func(...args);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user