Update SednaLib.js

This commit is contained in:
JAlB- 2023-04-03 00:34:10 +03:00 committed by GitHub
parent daa405a347
commit f0c29f26dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,14 +32,6 @@ HTMLElement.prototype.qsa = function(STR){
return this.querySelectorAll(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) {//Ограничение диапазона Math.clamp = function(number, min, max) {//Ограничение диапазона
return Math.max(min, Math.min(number, max)); return Math.max(min, Math.min(number, max));