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(eventStack): support for different targets #2094

Merged
merged 5 commits into from
Sep 23, 2017
Merged

Conversation

layershifter
Copy link
Member

Cut from #2088.

What?

This PR adds ability to use eventStack on custom targets, except document and window. This means that we can use it in Sticky and Visibility and gains its benefits 👍

In fact, I moved old eventStack to EventTarget and fully kept its functionality. New eventStack now only manages instances of EventTargets.

Alexander Fedyashov added 2 commits September 20, 2017 18:10
…React into feat/event-target

# Conflicts:
#	src/behaviors/Visibility/Visibility.js
#	src/lib/eventStack/EventTarget.js
#	src/modules/Popup/Popup.js
#	src/modules/Sticky/Sticky.js
@codecov-io
Copy link

codecov-io commented Sep 20, 2017

Codecov Report

Merging #2094 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2094      +/-   ##
==========================================
- Coverage   99.76%   99.76%   -0.01%     
==========================================
  Files         149      149              
  Lines        2602     2600       -2     
==========================================
- Hits         2596     2594       -2     
  Misses          6        6
Impacted Files Coverage Δ
src/modules/Popup/Popup.js 100% <100%> (ø) ⬆️
src/addons/Responsive/Responsive.js 100% <100%> (ø) ⬆️
src/modules/Sticky/Sticky.js 100% <100%> (ø) ⬆️
src/addons/Portal/Portal.js 100% <100%> (ø) ⬆️
src/behaviors/Visibility/Visibility.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8b1b02d...d1ea234. Read the comment docs.

Alexander Fedyashov and others added 2 commits September 22, 2017 12:37
@levithomason
Copy link
Member

Fixed conflict, good to merge once test pass and you confirm.

@layershifter
Copy link
Member Author

@levithomason thanks, looks correct 👍 Let's merge this before #2091, because there will be conflict again 😄

@levithomason levithomason merged commit 40e2368 into master Sep 23, 2017
@levithomason levithomason deleted the feat/event-target branch September 23, 2017 17:18
@levithomason
Copy link
Member

Released in [email protected]

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.

3 participants