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

Fix interconnected selectors #93

Merged
merged 1 commit into from
Dec 13, 2018
Merged

Fix interconnected selectors #93

merged 1 commit into from
Dec 13, 2018

Conversation

xantorres
Copy link
Contributor

@xantorres xantorres commented Dec 6, 2018

The goal of this PR is to fix an issue when defining multiple selectors that rely upon each other.
Usually you would define these selectors in order so that the last selectors depend on the first selectors, but since the order of object keys is not guaranteed across different browsers, it is happening in some cases that Kea tries to reach the selectors before they are created, so we end up getting a kea-error.

@xantorres xantorres changed the title Bugfix/delayed selectors Fix interconnected selectors Dec 7, 2018
@mariusandra mariusandra merged commit 08995e2 into keajs:master Dec 13, 2018
@mariusandra
Copy link
Member

Hi, thanks for this! I merged it, cleaned it up a bit and duplicated this logic in one other place to make all tests pass. It's now out with v0.28.6

@xantorres xantorres deleted the bugfix/delayed-selectors branch December 13, 2018 17:39
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