Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Add Filter to URL #19

Merged
merged 4 commits into from
Nov 25, 2019
Merged

WIP: Add Filter to URL #19

merged 4 commits into from
Nov 25, 2019

Conversation

Severenit
Copy link

No description provided.

Copy link
Member

@sery0ga sery0ga left a comment

Choose a reason for hiding this comment

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

Еще посмотри, плиз, на ошибки в Travis. Там какие-то мелочи по стилям и типам.

*/
private filterEvents(e: Event) {
public filterEvents(e?: Event) {
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
Author

Choose a reason for hiding this comment

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

Вот я тут не очень понял этого, можешь пояснить?

Copy link
Member

Choose a reason for hiding this comment

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

:) да, криво написал. Я везде опускаю служебное слово public. Это единственное место, где публичный метод явно объявлен публичным.

src/widgets/blocks/EventListFilters.ts Outdated Show resolved Hide resolved
src/widgets/blocks/EventListFilters.ts Outdated Show resolved Hide resolved
src/widgets/blocks/EventListFilters.ts Outdated Show resolved Hide resolved

private parseSearchPath(type: string, value: string): boolean {
const createURL = this.generateUrl();
const findValue = createURL.searchParams.getAll(type);
Copy link
Member

Choose a reason for hiding this comment

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

searchParams поддерживаются в IE?

Copy link
Author

Choose a reason for hiding this comment

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

Нет не поддерживается, надо бы polyfill заюзать!

src/widgets/blocks/EventListFilters.ts Outdated Show resolved Hide resolved
src/widgets/blocks/EventListFilters.ts Outdated Show resolved Hide resolved
@sery0ga sery0ga merged commit 45247cd into master Nov 25, 2019
@overlogic overlogic deleted the feature/add-filter-url-path branch February 11, 2021 20:19
@overlogic overlogic restored the feature/add-filter-url-path branch February 11, 2021 20:19
@overlogic overlogic deleted the feature/add-filter-url-path branch February 11, 2021 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants