Browse Source

chore: updates readme

e22m4u 1 year ago
parent
commit
d9e6058802
2 changed files with 4 additions and 4 deletions
  1. 2 2
      README-ru.md
  2. 2 2
      README.md

+ 2 - 2
README-ru.md

@@ -53,7 +53,7 @@ const {Service} = require('@e22m4u/js-service');
 - `use(ctor, ...args)` добавить конструктор и создать экземпляр
 - `set(ctor, service)` добавить конструктор и его экземпляр
 
-### `get`
+### get
 
 Метод `get` класса `ServiceContainer` создает экземпляр
 полученного конструктора и сохраняет его для последующих
@@ -166,7 +166,7 @@ const app = new App();
 и его передачу между сервисами, так как эта логика
 инкапсулирована в классе `Service` и его методе `getService`
 
-### `getService`
+### getService
 
 Метод `getService` обеспечивает существование единственного
 экземпляра запрашиваемого сервиса, а не создает каждый раз

+ 2 - 2
README.md

@@ -52,7 +52,7 @@ Methods:
 - `use(ctor, ...args)` adds a constructor and creates its instance
 - `set(ctor, service)` adds a constructor and its instance
 
-### `get`
+### get
 
 The `get` method of the `ServiceContainer` class creates
 an instance of the given constructor and saves it for next
@@ -169,7 +169,7 @@ a service container and passing it between services,
 because this logic is encapsulated in the `Service`
 class and its `getService` method.
 
-### `getService`
+### getService
 
 The `getService` method ensures the existence of a single
 instance of the requested service, rather than creating