mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-19 00:37:00 +08:00
Update SednaLib.js
This commit is contained in:
parent
daa405a347
commit
f0c29f26dd
@ -32,14 +32,6 @@ HTMLElement.prototype.qsa = function(STR){
|
||||
return this.querySelectorAll(STR);
|
||||
}
|
||||
|
||||
Array.prototype.inArray = function(ARGUMENT){
|
||||
if(this.indexOf(ARGUMENT) != -1){
|
||||
return true;
|
||||
}else{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/* --------- Полезные функции --------- */
|
||||
Math.clamp = function(number, min, max) {//Ограничение диапазона
|
||||
return Math.max(min, Math.min(number, max));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user