From 08dc1a1e60063705ccefc1eb4ef0a17d1ddf196b Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Sun, 14 Mar 2021 18:26:20 +0300 Subject: Fix typos --- files/ru/web/api/domtokenlist/replace/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'files/ru/web/api/domtokenlist') diff --git a/files/ru/web/api/domtokenlist/replace/index.html b/files/ru/web/api/domtokenlist/replace/index.html index 1a9c51f16b..e54a1d45b7 100644 --- a/files/ru/web/api/domtokenlist/replace/index.html +++ b/files/ru/web/api/domtokenlist/replace/index.html @@ -54,9 +54,9 @@ if (result) {

{{ EmbedLiveSample('Examples', '100%', 60) }}

-

Полифилл

+

Полифил

-

Следующий полифилл добавит метод replace в класс DOMTokenList.  Селудющий код будет работать только с IE10-11. Чтобы использовать с более ранними версиями IE, обратитесь к полифиллу по {{domxref("element.classList#Polyfill")}}

+

Следующий полифил добавит метод replace в класс DOMTokenList.  Селудющий код будет работать только с IE10-11. Чтобы использовать с более ранними версиями IE, обратитесь к полифилу по {{domxref("element.classList#Polyfill")}}

DOMTokenList.prototype.replace = function (a, b) {
     if (this.contains(a)) {
-- 
cgit v1.2.3-54-g00ecf