Skip to content
This repository was archived by the owner on May 29, 2023. It is now read-only.

Conversation

waterplea
Copy link
Contributor

No description provided.

# Conflicts:
#	.github/CODEOWNERS
#	.github/ISSUE_TEMPLATE/bug_report.md
#	.github/ISSUE_TEMPLATE/feature_request.md
angular.json Outdated
"styles": ["projects/demo/src/styles.css"],
"styles": [
"node_modules/@taiga-ui/core/styles/taiga-ui-global.less",
"node_modules/@taiga-ui/core/styles/taiga-ui-local.less",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

зачем локальные в глобальные пихаешь? тогда везде юзать миксины можно что ли?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Наверное уже можно не пихать. Баг был, что в теме юзался миксин

@@ -0,0 +1,11 @@
export function isSaid(phrase: string): (results: SpeechRecognitionResult[]) => boolean {
const parsed = phrase.toLowerCase().trim();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: не очень parsed... понятнее может даже будет с phrase = phrase.toLowerCase().trim();

export class SpeechRecognitionService extends Observable<SpeechRecognitionResult[]> {
constructor(
@Inject(SPEECH_RECOGNITION) classRef: Type<SpeechRecognition> | null,
@Optional() @Inject(LOCALE_ID) lang: string | null = '',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

о, локаль опшинал? не знал...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Да, вроде. Чекну.

@waterplea waterplea merged commit 9bec1af into main Dec 18, 2020
@waterplea waterplea deleted the speech-synthesis branch December 18, 2020 19:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants