From f0c29f26dd5cebccb89369dbfc10cc0fbf50a88e Mon Sep 17 00:00:00 2001 From: JAlB- Date: Mon, 3 Apr 2023 00:34:10 +0300 Subject: [PATCH] Update SednaLib.js --- web/lib/SednaLib.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/web/lib/SednaLib.js b/web/lib/SednaLib.js index 2fa1d2c19..b2cdfcd71 100644 --- a/web/lib/SednaLib.js +++ b/web/lib/SednaLib.js @@ -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)); @@ -109,4 +101,4 @@ function $Add(TAG, PARENT, SET){ SET = null; $Append(result, PARENT); return result; -} \ No newline at end of file +}