Isiah Meadows
4d579c50b6
Revert "Fix #1771 and probably others ( #2286 )" ( #2299 )
...
4f68984f2f
2018-11-14 19:26:23 -05:00
Isiah Meadows
4f68984f2f
Fix #1771 and probably others ( #2286 )
...
This is *super* subtle, and IMHO Chrome did exactly the wrong thing
here.
2018-11-14 15:35:00 -05:00
Isiah Meadows
c703b03253
Unbreak accidental back-compat break with event optimization ( #2222 )
...
This was supposed to be purely additive. See here for more details:
https://github.com/MithrilJS/mithril.js/pull/1949#issuecomment-417824513
2018-09-18 10:14:21 -04:00
Isiah Meadows
2c92d84058
Add support for object event handlers (using handleEvent)
...
- `handleEvent` is checked on dispatch, like in the DOM.
- Had to reorder attribute key checking so `undefined` events still got
removed.
- Drive-by: Optimize the initial attribute key checking a little.
- Drive-by: Fix changelog v2.0.0 link in TOC.
2017-08-25 06:06:46 -04:00
Pierre-Yves Gerardy
e031fe49a1
[test-utils/domMock] improve attributes handling
2017-05-28 18:26:09 +02:00
Isiah Meadows
b24c37c42d
Revert "Pass vnode as second argument"
2017-04-28 16:40:13 -04:00
Isiah Meadows
81b7ff56ee
Add tests for event vnode second argument
2017-04-11 13:09:38 -04:00
Leo Horie
6c3036e5c6
fix event removal in diff
...
fix CI
2016-08-12 22:08:02 -04:00
impinball
b4fb21475c
Add editorconfig, resolve differences
...
This includes newlines, tabs, among other things.
2016-06-18 03:22:12 -04:00
Leo Horie
977239d207
rename limiter to throttle and refactor
...
- don't inject raf/setTimeout since we can't really mock them w/ a good degree of timing accuracy anyways
fix some unrelated tests
2016-05-19 23:24:04 -04:00
Leo Horie
5265697cb2
semi-working bundle
2016-05-14 01:01:35 -04:00
Leo Horie
b17bd250b7
support all events
2016-05-06 10:11:31 -04:00
Leo Horie
559369016d
initial commit (work in progress)
2016-04-20 20:02:37 -04:00