mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-03-16 16:07:07 +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