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

Feat/issue #17 #18

Merged
merged 4 commits into from
Dec 11, 2015
Merged

Feat/issue #17 #18

merged 4 commits into from
Dec 11, 2015

Conversation

TylorS
Copy link
Member

@TylorS TylorS commented Dec 10, 2015

Updates fromEvent() to accept a NodeList rather than a single DOM node.
This allows creating only one Stream instead of multiple Streams that must be merged together.
Saving memory and hopefully increases performance by decreasing the number of steps and Streams being created.

Closes #17

fromEvent() now assumes it is passed a NodeList and creates
a single stream from all of the elements of a NodeList.

Closes #17
Updates the use of fromEvent to match the new semantics

Closes #17
@Frikki
Copy link
Member

Frikki commented Dec 11, 2015

Where is the test for this new feature?

Adds a check for whether or not source is a NodeList
Add test to ensure fromEvent behaves as expected.
Add test to ensure fromEvent throws when not given proper input.
@TylorS
Copy link
Member Author

TylorS commented Dec 11, 2015

Added tests in the latest commit

@Frikki Frikki merged commit 977352e into develop Dec 11, 2015
@TylorS TylorS deleted the feat/issue-#17 branch December 11, 2015 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants