spacejack
0e6223da73
Add docs about using EventListener objects ( #2260 )
...
* Add docs about using EventListener objects
* Fix typo
* Less misleading description of event handlers
* Fix a typo + grammar mistake
* More grammar/typo fixes
2018-10-27 16:41:21 -04:00
Travis Horn
86549d3d48
Fix #2210 ( #2259 )
...
Changed the example command for Mithril Bundler to be more consistent with Webpack quick start.
2018-10-26 16:42:01 -04:00
Gandalf-the-Bot
b1f1a2b94b
Bundled output for commit 3e494583c6 [skip ci]
2018-10-25 19:05:10 +00:00
Isiah Meadows
3e494583c6
v2.0.0-rc.0
2018-10-25 14:54:22 -04:00
Isiah Meadows
97b6125654
Fixing bugs introduced by the big next merge
...
- Update package-lock.json
- Remove (failing) dupe ospec suite
Git didn't *quite* do the right thing here, so I had to fix a few
things.
2018-10-25 14:35:05 -04:00
Isiah Meadows
2635070734
Merge branch 'next'
2018-10-25 14:23:33 -04:00
Isiah Meadows
6fff24869a
Update changelog in preparation for v2.0.0-rc [skip ci]
2018-10-25 14:11:10 -04:00
Gandalf-the-Bot
e7c71f6ba2
Bundled output for commit 88b17c1c60 [skip ci]
2018-10-15 19:13:19 +00:00
Isiah Meadows
88b17c1c60
Avoid triggering Object.prototype.__proto__ with keys ( #2251 )
...
This way, the diff algorithm works with untrusted keys.
2018-10-15 15:09:55 -04:00
Gandalf-the-Bot
d2ca44b693
Bundled output for commit 68e412bb59 [skip ci]
2018-10-14 20:34:43 +00:00
Rasmus Porsager
68e412bb59
Fix #2232 - wrongly matching prop after comments ending with a dot ( #2249 )
...
* Fix #2232 - wrongly matching prop after comments ending with a dot
* Avoid matching urls `://`
2018-10-14 16:32:28 -04:00
ᴙɘɘᴙgYmɘᴙɘj
385458aadd
Exit process with error on bundler errors ( #2240 ) ( #2244 )
...
* Exit process with error on bundler errors (#2240 )
Setting the errorCode within bundle.js does not change the exit code
when called with cli.js. This moves the outer `try...catch` from
bundle.js to the `bundle` call in cli.js, so it can set the exit code.
* Lint
* Allow bundler to throw on error
2018-10-10 13:29:14 -04:00
Gandalf-the-Bot
d40d871a9d
Bundled output for commit 62eb081a13 [skip ci]
2018-09-22 16:05:12 +00:00
Isiah Meadows
62eb081a13
Simplify element removal to save a few bytes
...
It's also a minor peephole optimization, but I saw bigger size wins, so
I'm citing that.
2018-09-22 12:02:58 -04:00
Gandalf-the-Bot
fa4ad79d89
Bundled output for commit 1ecc30a064 [skip ci]
2018-09-20 19:10:27 +00:00
Isiah Meadows
1ecc30a064
Fix custom elements attribute application, improve key checking
...
- Fix custom elements attribute application to acknowledge that not all
custom elements operate purely based on attributes. (Plus, those
blasted things are verbose as heck when you're working with them in
raw form. It's also not that uncommon for functionality to be exposed
via property and *not* attribute.)
- Don't memoize the normalized value when we 1. only use it once in each
branch, and 2. only use it for a few special cases.
- Centralize the "has property key" code, so it's easier to tune and
read. I also inlined a couple functions while I was at it since they
were small and only used once.
- Actually test for how attributes are applied to raw DOM elements vs
when we choose to use keys. When I first developed the patch, it
silently worked, when I should've been breaking things.
2018-09-20 15:08:49 -04:00
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