Commit graph

3224 commits

Author SHA1 Message Date
Isiah Meadows
f844cc8134 Add functionality for inspecting arbitrary past calls
This made it much easier to debug multiple calls while developing this
patch.
2018-09-20 15:08:49 -04:00
Boaz Blake
89d833e909 adding stephen hoyers how-to-mithril 2018-09-19 16:38:11 -04:00
Gandalf-the-Bot
e7a7c0dc53 Bundled output for commit ad5118165c [skip ci] 2018-09-19 05:25:32 +00:00
Isiah Meadows
ad5118165c
Fix redundancy (#2213)
* Remove redundant empty fragment return

* Rebuild bundles

* Update changelog
2018-09-19 01:23:33 -04:00
Gandalf-the-Bot
8f617967ea Bundled output for commit c703b03253 [skip ci] 2018-09-18 14:16:38 +00: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
Pat Cavit
f4ddcc4b24
chore: removing myself due to chronic lack of time 2018-09-13 11:18:58 -07:00
cavemansspa
e62f0f38f6 Doc update for unpkg src attr (#2205)
* Add https: to unpkg src attr

* [docs] Credit @cavemansspa
2018-08-21 18:40:15 +02:00
Gandalf-the-Bot
8ae094fd85 Bundled output for commit af90b6b4a6 [skip ci] 2018-08-20 09:31:58 +00:00
Stephan Hoyer
af90b6b4a6 Add support for setting responseType of xhr via m.request options 2018-08-20 11:29:36 +02:00
Rasmus Porsager
d64e0a950f Fix #1714 conditionally halting stream (#2200)
* Fix #1714 conditionally halting stream

* Add note in changelog
2018-08-08 15:06:21 +01:00
Gandalf-the-Bot
4d0047380c Bundled output for commit fd7cf8041e [skip ci] 2018-08-06 11:37:45 +00:00
Martti Laine
fd7cf8041e [request] Clearer error message for JSON deserialization failure (#2195) 2018-08-06 13:35:50 +02:00
Pierre-Yves Gérardy
e46d03f467 [ospec] v3.0.1 2018-06-30 20:28:28 +02:00
Rasmus Porsager
ecfa59c016 Fix glob inclusion on npm install 2018-06-30 20:19:24 +02:00
kevinkace
28a5c13027 Update onbeforeremove animation example to use animationend event 2018-06-28 23:00:18 +02:00
Pierre-Yves Gérardy
85c1e99d9d
[docs] Update the TOC of installation.md 2018-06-26 15:39:53 +02:00
Pierre-Yves Gérardy
f39081b2a5 [opec] v3.0.0 2018-06-23 22:11:54 +02:00
Stephan Hoyer
4de59e5b33 Use parcel instead of webpack for quickstart. (#2182)
much simpler
2018-06-13 10:23:22 +01:00
Gandalf-the-Bot
6dee1571a1 Bundled output for commit 571b60830b [skip ci] 2018-06-11 20:06:53 +00:00
Sebastian Sandqvist
571b60830b [render/render] Prevent activeElement.focus on SVGs, fix #1983 2018-06-11 22:04:34 +02:00
Gandalf-the-Bot
6bf7be8887 Bundled output for commit fed0846a11 [skip ci] 2018-06-07 16:11:30 +00:00
Pierre-Yves Gérardy
fed0846a11 [docs] #2174 docs and change log 2018-06-07 18:09:38 +02:00
Pierre-Yves Gérardy
32b319d140 [render/hyperscript] Normalize to class attrs to className, ignore only nullish values 2018-06-07 18:09:38 +02:00
Pierre-Yves Gérardy
15cf47a829 [performance] use individual files rather than the build, revamp the attrs code to reduce variance, reset the scratch pad more reliably 2018-06-07 18:09:38 +02:00
Pierre-Yves Gérardy
8daa386e5e [render/test] add a render/hyperscript integration suite for classes 2018-06-07 18:09:38 +02:00
Pierre-Yves Gérardy
92b22fe8e6 [render/hyperscript] have the attrs take precedence over the selector, improve class normalization
fix #1773
fix #2172
2018-06-07 18:09:38 +02:00
Pierre-Yves Gérardy
1a87cc44cd [performance testing] add classes in some selectors for the attrs test 2018-06-07 18:09:38 +02:00
Gandalf-the-Bot
4ca2b362f7 Bundled output for commit 3f5cabc5c5 [skip ci] 2018-06-01 19:28:42 +00:00
Pierre-Yves Gérardy
3f5cabc5c5 Chore: Normalize the way we use eslint-disable 2018-06-01 21:27:02 +02:00
Pierre-Yves Gérardy
6283aa4a7d [render/render] Test for removing styles and assorted domMock changes 2018-06-01 21:27:02 +02:00
Pierre-Yves Gérardy
1fdc9278c7 [benchmark] add consecutive nullish values to the attrs test 2018-06-01 21:27:02 +02:00
Pierre-Yves Gérardy
cfa128a5cd [render/render] make updateAttrs smarter about null values 2018-06-01 21:27:02 +02:00
Pierre-Yves Gérardy
4921083898 [render/render] Fix xlink:href handling 2018-06-01 21:27:02 +02:00
Pierre-Yves Gérardy
2469505b1b Move xlink:href test to the proper file 2018-06-01 21:27:02 +02:00
Pierre-Yves Gérardy
b39f4f683d [domMock] Better accuracy for namespaced elements 2018-06-01 21:27:02 +02:00
Pierre-Yves Gerardy
5b51b682ee Improve attrs removal, fix #1804 2018-06-01 21:27:02 +02:00
Pierre-Yves Gerardy
dc15acd791 Improve attrs setting performance
before:

> mutate styles/properties x 7,999 ops/sec ±10.87% (46 runs sampled)

after:

> mutate styles/properties x 16,104 ops/sec ±4.36% (66 runs sampled)
2018-06-01 21:27:02 +02:00
Pierre-Yves Gerardy
4197cf0ae1 Enable the tests for #1804 2018-06-01 21:27:02 +02:00
Pierre-Yves Gérardy
9016091adf [ospec] docs and change log 2018-06-01 20:22:58 +02:00
Pierre-Yves Gérardy
14695c9cda [ospec] Allow more than one o.only() test 2018-06-01 20:22:58 +02:00
Pierre-Yves Gérardy
a23216b987 [ospec] record errors thrown in tests as failures 2018-06-01 20:22:58 +02:00
Pierre-Yves Gérardy
53597871b8 [ospec] don't allocate task for tests that will be skipped in o.only mode, fix stack overflow 2018-06-01 20:22:58 +02:00
Gandalf-the-Bot
277f35fb3a Bundled output for commit 285cb5382f [skip ci] 2018-05-29 21:52:06 +00:00
Pierre-Yves Gérardy
285cb5382f [render] cleanup and comments 2018-05-29 23:50:29 +02:00
Pierre-Yves Gérardy
144ce68192 [render/render] get rid of vnode.skip 2018-05-29 23:50:29 +02:00
Pierre-Yves Gérardy
e3b240032a [domMock] don't call public methods from DOM API methods (it messes up spying) 2018-05-29 23:50:29 +02:00
Pierre-Yves Gérardy
2cfc68359d [render/render] Introduce longest increasing subsequence-based node moves in keyed diff, fix #1791, fix #2026 2018-05-29 23:50:29 +02:00
Pierre-Yves Gérardy
95ec3d28aa test for the LIS-based diff 2018-05-29 23:50:29 +02:00
Pierre-Yves Gérardy
24875832e9
[ospec] Document changes made to the result objects. 2018-05-29 23:02:23 +02:00