diff --git a/1-js/2-first-steps/2-external-script/article.md b/1-js/2-first-steps/2-external-script/article.md index f3419b6d..dcebfe8b 100644 --- a/1-js/2-first-steps/2-external-script/article.md +++ b/1-js/2-first-steps/2-external-script/article.md @@ -104,7 +104,7 @@

Начало страницы...

- +

...Важная информация!

``` @@ -155,7 +155,7 @@

Начало страницы...

- +

...Важная информация!

``` diff --git a/1-js/3-writing-js/4-testing/1-pow-nan-spec/task.md b/1-js/3-writing-js/4-testing/1-pow-nan-spec/task.md index c3239b69..ea90d617 100644 --- a/1-js/3-writing-js/4-testing/1-pow-nan-spec/task.md +++ b/1-js/3-writing-js/4-testing/1-pow-nan-spec/task.md @@ -9,7 +9,7 @@ Она содержит HTML с тестами. Обратите внимание, что HTML-страница в ней короче той, что обсуждалась в статье [](/testing). Это потому что библиотеки Chai, Mocha и Sinon объединены в один файл: ```html - + ``` Этот файл содержит код библиотек, стили, настройки для них и запуск `mocha.run` по окончании загрузки страницы. Если нет элемента с `id="mocha"`, то результаты выводятся в ``. diff --git a/1-js/3-writing-js/4-testing/beforeafter.view/index.html b/1-js/3-writing-js/4-testing/beforeafter.view/index.html index a42a4523..19d664de 100755 --- a/1-js/3-writing-js/4-testing/beforeafter.view/index.html +++ b/1-js/3-writing-js/4-testing/beforeafter.view/index.html @@ -3,10 +3,10 @@ - - + + - + diff --git a/1-js/3-writing-js/4-testing/index.html b/1-js/3-writing-js/4-testing/index.html index 8e27634c..35405575 100755 --- a/1-js/3-writing-js/4-testing/index.html +++ b/1-js/3-writing-js/4-testing/index.html @@ -4,14 +4,14 @@ - + - + - + diff --git a/1-js/3-writing-js/4-testing/pow-1.view/index.html b/1-js/3-writing-js/4-testing/pow-1.view/index.html index 8e27634c..35405575 100755 --- a/1-js/3-writing-js/4-testing/pow-1.view/index.html +++ b/1-js/3-writing-js/4-testing/pow-1.view/index.html @@ -4,14 +4,14 @@ - + - + - + diff --git a/1-js/3-writing-js/4-testing/pow-2.view/index.html b/1-js/3-writing-js/4-testing/pow-2.view/index.html index b5e38b6b..a62937e1 100755 --- a/1-js/3-writing-js/4-testing/pow-2.view/index.html +++ b/1-js/3-writing-js/4-testing/pow-2.view/index.html @@ -4,14 +4,14 @@ - + - + - + diff --git a/1-js/3-writing-js/4-testing/pow-3.view/index.html b/1-js/3-writing-js/4-testing/pow-3.view/index.html index 2dc42595..a8a023af 100755 --- a/1-js/3-writing-js/4-testing/pow-3.view/index.html +++ b/1-js/3-writing-js/4-testing/pow-3.view/index.html @@ -4,14 +4,14 @@ - + - + - + diff --git a/1-js/3-writing-js/4-testing/pow-4.view/index.html b/1-js/3-writing-js/4-testing/pow-4.view/index.html index 2dc42595..a8a023af 100755 --- a/1-js/3-writing-js/4-testing/pow-4.view/index.html +++ b/1-js/3-writing-js/4-testing/pow-4.view/index.html @@ -4,14 +4,14 @@ - + - + - + diff --git a/1-js/3-writing-js/4-testing/pow-full.view/index.html b/1-js/3-writing-js/4-testing/pow-full.view/index.html index d240eea2..74894a9e 100755 --- a/1-js/3-writing-js/4-testing/pow-full.view/index.html +++ b/1-js/3-writing-js/4-testing/pow-full.view/index.html @@ -4,14 +4,14 @@ - + - + - + diff --git a/1-js/3-writing-js/4-testing/pow-min.view/index.html b/1-js/3-writing-js/4-testing/pow-min.view/index.html index b5e38b6b..a62937e1 100755 --- a/1-js/3-writing-js/4-testing/pow-min.view/index.html +++ b/1-js/3-writing-js/4-testing/pow-min.view/index.html @@ -4,14 +4,14 @@ - + - + - + diff --git a/1-js/3-writing-js/4-testing/pow-nan-assert.view/index.html b/1-js/3-writing-js/4-testing/pow-nan-assert.view/index.html index b968beef..5fd30c53 100755 --- a/1-js/3-writing-js/4-testing/pow-nan-assert.view/index.html +++ b/1-js/3-writing-js/4-testing/pow-nan-assert.view/index.html @@ -4,14 +4,14 @@ - + - + - + diff --git a/1-js/3-writing-js/4-testing/pow-nan.view/index.html b/1-js/3-writing-js/4-testing/pow-nan.view/index.html index b968beef..5fd30c53 100755 --- a/1-js/3-writing-js/4-testing/pow-nan.view/index.html +++ b/1-js/3-writing-js/4-testing/pow-nan.view/index.html @@ -4,14 +4,14 @@ - + - + - + diff --git a/1-js/5-functions-closures/5-closures-module/article.md b/1-js/5-functions-closures/5-closures-module/article.md index a8e62e03..4e6f690f 100644 --- a/1-js/5-functions-closures/5-closures-module/article.md +++ b/1-js/5-functions-closures/5-closures-module/article.md @@ -174,7 +174,7 @@ function work() { ```html

Подключим библиотеку

- +

Функция _.defaults() добавляет отсутствующие свойства.

- + ``` В примере выше размеры обработчик `DOMContentLoaded` сработает сразу после загрузки документа, не дожидаясь получения картинки. @@ -104,7 +104,7 @@ Firefox/Chrome/Opera автозаполняют формы по `DOMContentLoade */!* - + ``` ## window.onunload @@ -162,7 +162,7 @@ Firefox игнорирует текст, а всегда показывает с ```html - + - +
Текст страницы
``` diff --git a/2-ui/3-event-details/11-onload-onerror/1-nice-alt/solution.view/index.html b/2-ui/3-event-details/11-onload-onerror/1-nice-alt/solution.view/index.html index 66ddcfa8..688b1e65 100755 --- a/2-ui/3-event-details/11-onload-onerror/1-nice-alt/solution.view/index.html +++ b/2-ui/3-event-details/11-onload-onerror/1-nice-alt/solution.view/index.html @@ -8,11 +8,11 @@
-
+
Google
-
+
Яндекс
diff --git a/2-ui/3-event-details/11-onload-onerror/1-nice-alt/source.view/index.html b/2-ui/3-event-details/11-onload-onerror/1-nice-alt/source.view/index.html index 022f0844..0b44d976 100755 --- a/2-ui/3-event-details/11-onload-onerror/1-nice-alt/source.view/index.html +++ b/2-ui/3-event-details/11-onload-onerror/1-nice-alt/source.view/index.html @@ -23,9 +23,9 @@
-Яндекс -Google -Файла нет (bing) +Яндекс +Google +Файла нет (bing) diff --git a/2-ui/3-event-details/11-onload-onerror/2-load-img-callback/solution.view/index.html b/2-ui/3-event-details/11-onload-onerror/2-load-img-callback/solution.view/index.html index ad9aefe6..b93cee98 100755 --- a/2-ui/3-event-details/11-onload-onerror/2-load-img-callback/solution.view/index.html +++ b/2-ui/3-event-details/11-onload-onerror/2-load-img-callback/solution.view/index.html @@ -27,9 +27,9 @@ // ---------- Проверка ---------- var sources = [ - "//js.cx/images-load/1.jpg", - "//js.cx/images-load/2.jpg", - "//js.cx/images-load/3.jpg" + "https://js.cx/images-load/1.jpg", + "https://js.cx/images-load/2.jpg", + "https://js.cx/images-load/3.jpg" ]; for (var i=0; i
- +
diff --git a/2-ui/3-event-details/4-drag-and-drop/2-drag-heroes/solution.view/soccer.css b/2-ui/3-event-details/4-drag-and-drop/2-drag-heroes/solution.view/soccer.css index acc4bcf6..2f0143a0 100644 --- a/2-ui/3-event-details/4-drag-and-drop/2-drag-heroes/solution.view/soccer.css +++ b/2-ui/3-event-details/4-drag-and-drop/2-drag-heroes/solution.view/soccer.css @@ -4,7 +4,7 @@ html, body { } #field { - background: url(//js.cx/drag-heroes/field.png); + background: url(https://js.cx/drag-heroes/field.png); width: 800px; height: 600px; float: left; @@ -12,7 +12,7 @@ html, body { /* герои и мяч (переносимые элементы) */ .hero { - background: url(//js.cx/drag-heroes/heroes.png); + background: url(https://js.cx/drag-heroes/heroes.png); width: 130px; height: 128px; float: left; diff --git a/2-ui/3-event-details/4-drag-and-drop/2-drag-heroes/source.view/index.html b/2-ui/3-event-details/4-drag-and-drop/2-drag-heroes/source.view/index.html index 05999852..7c8ede4f 100644 --- a/2-ui/3-event-details/4-drag-and-drop/2-drag-heroes/source.view/index.html +++ b/2-ui/3-event-details/4-drag-and-drop/2-drag-heroes/source.view/index.html @@ -25,7 +25,7 @@
- +
diff --git a/2-ui/3-event-details/4-drag-and-drop/2-drag-heroes/source.view/soccer.css b/2-ui/3-event-details/4-drag-and-drop/2-drag-heroes/source.view/soccer.css index acc4bcf6..2f0143a0 100644 --- a/2-ui/3-event-details/4-drag-and-drop/2-drag-heroes/source.view/soccer.css +++ b/2-ui/3-event-details/4-drag-and-drop/2-drag-heroes/source.view/soccer.css @@ -4,7 +4,7 @@ html, body { } #field { - background: url(//js.cx/drag-heroes/field.png); + background: url(https://js.cx/drag-heroes/field.png); width: 800px; height: 600px; float: left; @@ -12,7 +12,7 @@ html, body { /* герои и мяч (переносимые элементы) */ .hero { - background: url(//js.cx/drag-heroes/heroes.png); + background: url(https://js.cx/drag-heroes/heroes.png); width: 130px; height: 128px; float: left; diff --git a/2-ui/3-event-details/4-drag-and-drop/ball.view/index.html b/2-ui/3-event-details/4-drag-and-drop/ball.view/index.html index 7cc5ed13..a0891218 100644 --- a/2-ui/3-event-details/4-drag-and-drop/ball.view/index.html +++ b/2-ui/3-event-details/4-drag-and-drop/ball.view/index.html @@ -7,7 +7,7 @@

Кликните по мячу и тяните, чтобы двигать его.

- + - + diff --git a/3-more/11-css-for-js/17-css-sprite/sprite-tree-1/height48.view/index.html b/3-more/11-css-for-js/17-css-sprite/sprite-tree-1/height48.view/index.html index c00acbc3..d4b58f73 100755 --- a/3-more/11-css-for-js/17-css-sprite/sprite-tree-1/height48.view/index.html +++ b/3-more/11-css-for-js/17-css-sprite/sprite-tree-1/height48.view/index.html @@ -9,7 +9,7 @@ height: 48px; float: left; outline: 1px dotted black; - background: url(//js.cx/sprite-tree/icons.gif) no-repeat; + background: url(https://js.cx/sprite-tree/icons.gif) no-repeat; } li { diff --git a/3-more/11-css-for-js/17-css-sprite/sprite-tree-1/index.html b/3-more/11-css-for-js/17-css-sprite/sprite-tree-1/index.html index 1c2db8aa..f8075c48 100755 --- a/3-more/11-css-for-js/17-css-sprite/sprite-tree-1/index.html +++ b/3-more/11-css-for-js/17-css-sprite/sprite-tree-1/index.html @@ -9,7 +9,7 @@ height: 16px; float: left; outline: 1px dotted black; - background: url(//js.cx/sprite-tree/icons.gif) no-repeat; + background: url(https://js.cx/sprite-tree/icons.gif) no-repeat; } li { diff --git a/3-more/11-css-for-js/17-css-sprite/sprite-tree-src.view/index.html b/3-more/11-css-for-js/17-css-sprite/sprite-tree-src.view/index.html index 584133f5..ed57bbd8 100755 --- a/3-more/11-css-for-js/17-css-sprite/sprite-tree-src.view/index.html +++ b/3-more/11-css-for-js/17-css-sprite/sprite-tree-src.view/index.html @@ -12,17 +12,17 @@ .open .icon { cursor: pointer; - background: url(//js.cx/sprite-tree/minus.gif); + background: url(https://js.cx/sprite-tree/minus.gif); } .closed .icon { cursor: pointer; - background: url(//js.cx/sprite-tree/plus.gif); + background: url(https://js.cx/sprite-tree/plus.gif); } .leaf .icon { cursor: text; - background: url(//js.cx/sprite-tree/article.gif); + background: url(https://js.cx/sprite-tree/article.gif); } li { diff --git a/3-more/11-css-for-js/17-css-sprite/sprite-tree.view/index.html b/3-more/11-css-for-js/17-css-sprite/sprite-tree.view/index.html index d025511c..18fcc557 100755 --- a/3-more/11-css-for-js/17-css-sprite/sprite-tree.view/index.html +++ b/3-more/11-css-for-js/17-css-sprite/sprite-tree.view/index.html @@ -8,7 +8,7 @@ width: 16px; height: 16px; float: left; - background: url(//js.cx/sprite-tree/icons.gif) no-repeat; + background: url(https://js.cx/sprite-tree/icons.gif) no-repeat; } .open .icon { diff --git a/3-more/11-css-for-js/2-css-units/article.md b/3-more/11-css-for-js/2-css-units/article.md index 3a9c066e..fe769b94 100644 --- a/3-more/11-css-for-js/2-css-units/article.md +++ b/3-more/11-css-for-js/2-css-units/article.md @@ -199,7 +199,7 @@
- +