-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Ссылки в альтернативном подключении
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,7 +133,7 @@ Assitant Client доступен для подключения через `<scri | |
```html | ||
<script crossorigin src="https://unpkg.com/react@17/umd/react.production.min.js"></script> | ||
<script crossorigin src="https://unpkg.com/react-dom@17/umd/react-dom.production.min.js"></script> | ||
<script src="@sberdevices/[email protected]/umd/assistant.development.min.js"></script> | ||
<script src="https://unpkg.com/@sberdevices/[email protected]/umd/assistant.development.min.js"></script> | ||
<script> | ||
const client = assistant.createSmartappDebugger({ | ||
// Токен из Кабинета разработчика | ||
|
@@ -150,7 +150,7 @@ Assitant Client доступен для подключения через `<scri | |
|
||
Пример, для использования на устройствах: | ||
```html | ||
<script src="@sberdevices/[email protected]/umd/assistant.production.min.js"></script> | ||
<script src="https://unpkg.com/@sberdevices/[email protected]/umd/assistant.production.min.js"></script> | ||
<script> | ||
const client = assistant.createAssistant({ getState: () => ({}), getRecoveryState: () => ({}), }); | ||
</script> | ||
|