From 31e9a55e6cf17b2375759ff0ab81cd630a50af1c Mon Sep 17 00:00:00 2001 From: Sergey Konstantinov Date: Tue, 1 Aug 2023 01:25:30 +0300 Subject: [PATCH] examples refactoring --- docs/API.ru.html | 261 +++++++++++++++++- .../01. Decomposing UI Components/index.html | 19 +- .../01. Decomposing UI Components/index.js | 8 +- .../samples/.prettierrc | 2 +- .../samples/01.js | 136 +++++---- .../samples/02.js | 123 +++++---- .../samples/03.js | 251 +++++++++++------ .../samples/04.js | 105 ------- .../src/OfferPanelButton.ts | 4 +- .../src/OfferPanelComponent.ts | 12 +- .../src/SearchBoxComposer.ts | 81 +++--- .../src/interfaces/IOfferPanelComponent.ts | 3 +- .../01. Decomposing UI Components/style.css | 40 ++- .../test/OfferPanelComponent.test.ts | 5 +- .../test/SearchBoxComposer.test.ts | 6 +- .../test/fixtures/dummyMapApi.ts | 18 +- scripts/docs-server.js | 5 +- src/img/mockups/07.png | Bin 0 -> 50603 bytes .../04.md | 16 +- 19 files changed, 711 insertions(+), 384 deletions(-) delete mode 100644 docs/examples/01. Decomposing UI Components/samples/04.js create mode 100644 src/img/mockups/07.png diff --git a/docs/API.ru.html b/docs/API.ru.html index ebf2e01..e095c73 100644 --- a/docs/API.ru.html +++ b/docs/API.ru.html @@ -585,7 +585,7 @@ ul.references li p a.back-anchor {
  • -
    +

    @@ -606,7 +606,7 @@ ul.references li p a.back-anchor { Creative Commons «Attribution-NonCommercial» Logo

    Это произведение доступно по лицензии Creative Commons «Attribution-NonCommercial» («Атрибуция — Некоммерческое использование») 4.0 Всемирная.

    Исходный код доступен на github.com/twirl/The-API-Book

    -

    +