spacejack
a147023f4e
Docs - prioritize closure components for state ( #2292 )
...
* Emphasize closure components in components.md
* Use closure components for all stateful component examples
* Add change-log entry
* Edits and separate sections for closure, class & POJO state
2018-11-13 01:04:04 -05:00
Gandalf-the-Bot
4ac33fa483
Bundled output for commit 232ff597a6 [skip ci]
2018-11-09 18:56:56 +00:00
Isiah Meadows
232ff597a6
Switch to Terser ( #2289 )
...
1. It's actually supported
2. It's less buggy
https://twitter.com/dan_abramov/status/1060216917493981184
2018-11-09 13:55:25 -05:00
Miguel Espinoza
561b13c8a4
Add example for m.route.set with params ( #2229 )
...
Add example on how to use m.route.set with params
2018-11-07 18:47:49 -05:00
Gandalf-the-Bot
19ac08c7bc
Bundled output for commit d6489e3b3f [skip ci]
2018-11-07 23:44:25 +00:00
Pierre-Yves Gérardy
d6489e3b3f
Merge #2075 into next ( #2175 )
...
* fix: Access document.activeElement through a function that eats errors for IE (#2075 )
* test: inline iframe.js so ospec doesn't try to run it
2018-11-07 18:42:50 -05:00
Isiah Meadows
b0030047a7
Update Travis script [skip ci]
...
- Update to use my API key
- Don't try to auto-publish pre-releases
2018-11-07 13:21:09 -05:00
Isiah Meadows
1f18506de6
v2.0.0-rc.1
2018-11-07 12:37:22 -05:00
Gandalf-the-Bot
7140c483c6
Bundled output for commit 6042b001f0 [skip ci]
2018-11-07 17:20:53 +00:00
Isiah Meadows
6042b001f0
Add m.prop ( #2268 )
...
Fixes #2095
2018-11-07 12:18:55 -05:00
Gandalf-the-Bot
75626b30db
Bundled output for commit 843d7ad454 [skip ci]
2018-11-06 20:51:09 +00:00
Scotty Simpson
843d7ad454
Abandon Closure Compiler in favor of UglifyES ( #2285 )
...
Moved to UglifyES, ditched async cruft, clarified responsibilities between cli & minify.
Makes for faster, more reliable, synchronous, non-Google-reliant minification.
2018-11-06 15:48:48 -05:00
Scotty Simpson
9d2586df9c
remove redundant changelogs for 1.1.4-6 ( #2277 )
2018-11-02 23:51:21 -04:00
Gandalf-the-Bot
ed3faf4fad
Bundled output for commit a73c157dff [skip ci]
2018-10-28 22:04:44 +00:00
makibishi
a73c157dff
refactor: Vnode.normalizeChildren to anonymous function ( #2208 )
2018-10-28 18:02:32 -04:00
Gandalf-the-Bot
761de0908b
Bundled output for commit ea0ce7f762 [skip ci]
2018-10-28 21:19:11 +00:00
spacejack
ea0ce7f762
Store normalized vnodes in the dom element. Add render tests. ( #2266 )
...
* Store normalized vnodes in the dom element. Add render tests.
* Add entry to change-log
2018-10-28 17:17:24 -04:00
Isiah Meadows
b9c3c6c9c8
Remove a section that's 1. buggy and 2. controversial [skip ci] ( #2265 )
...
See discussion in #2250 and #1986 for more details.
2018-10-28 17:00:47 -04:00
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