Isiah Meadows
348bed0a7e
Allow xlink:href to get removed, fix option.value in mock
2017-10-01 19:34:12 -04:00
Sultan Tarimo
ce025e73fa
Fix menu css z-index
2017-09-27 03:11:02 +03:00
Isiah Meadows
98933b8bc1
Merge pull request #1949 from isiahmeadows/optimize-events
...
Optimize events, support objects with `handleEvent`
2017-09-17 20:38:08 -04:00
matildasmeds
e7d0e5a506
docs: Fix typo in css.md
2017-09-16 14:13:02 +02:00
matildasmeds
40229a1ab9
docs: reorder lifecycle methods to match actual event order
2017-09-15 16:41:14 +02:00
Pat Cavit
18c2b262ad
docs: clarify PR process
2017-09-15 06:11:46 +00:00
Matilda Smeds
685cdedc62
docs: Fix typo ( #1968 )
2017-09-14 23:10:11 -07:00
Matilda Smeds
12d9085fe7
docs: Consistent filepath comments to tutorial ( #1965 )
2017-09-11 23:09:44 -07:00
Henrik Glasø Skifjeld
b26e67d1e9
docs: Fix typo in jsx docs ( #1959 )
2017-09-05 09:50:11 -07:00
Isiah Meadows
d150e71a85
Merge MithrilJS/next into optimize-events
2017-09-01 15:38:53 -04:00
Rasmus Porsager
6083c67f07
Update change-log.md
2017-09-01 17:58:12 +02:00
Stephan Hoyer
d8113a4470
Adapt change-log
2017-08-31 19:31:08 +02:00
Isiah Meadows
5209071011
Merge next into optimize-events
2017-08-31 05:43:39 -04:00
Jackson Nowotny
5303e70fde
fixing merge conflicts
2017-08-29 10:30:45 -05:00
Jackson Nowotny
849e862413
Fixing IE bug causing active element to be null causing render function to throw error
2017-08-29 10:27:58 -05: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
Isiah Meadows
dbbdb0664a
Reduce memory allocation/usage across multiple event handlers
...
- `handleEvent` is a very useful tool.
- Always use `addEventListener`/`removeEventListener`, since it's
required for this optimization.
- Change log updated.
- Drive-by: make DOM mock work with both event listener types.
- Drive-by: eliminate possibility of `Object.prototype` interference.
2017-08-25 05:19:30 -04:00
Ilya Sarantsev
9e6b175519
Handle shared attributes object in hyperscript ( #1941 )
2017-08-23 16:36:14 +03:00
Jim Kalafut
b59ab50ba3
docs: Fix typo ( #1940 )
2017-08-18 23:02:38 -07:00
spacejack
ae0b791530
Eleminate now-redundant if block. Add change-log notes.
2017-08-15 15:53:23 -04:00
Pierre-Yves Gérardy
2032131340
Merge pull request #1924 from tskillian/fixRequestContentHeaders
...
Fix Content-Type header bug (Issue #1919 )
2017-08-04 01:05:56 +02:00
tkilliansc
b4856a9ecd
fix issue 1919
2017-08-03 13:48:19 -07:00
Pierre-Yves Gérardy
423253f1a8
Move the #1921/#1922 line into the v1.1.4 change set
2017-07-31 12:28:40 +02:00
Pierre-Yves Gérardy
c96e085799
core: don't call onremove on the children passed to components that return from their view, fix #1921
2017-07-31 11:48:15 +02:00
Jared Morrow
1da69da4dd
docs: Fix mismatched brace in Authentication example ( #1917 )
2017-07-27 12:54:04 -07:00
Pierre-Yves Gérardy
5956314e36
Docs for async redraws and assorted changes (see #1592 ) ( #1901 )
2017-07-19 09:16:22 +02:00
Pierre-Yves Gérardy
8ab31790ab
Merge pull request #1592 from pygy/async-redraw
...
Make m.redraw() purely asynchronous, add m.redraw.sync()
2017-07-17 23:16:44 +02:00
Griffin
353bbe7fff
docs: Clarifying babel/webpack docs ( #1845 )
2017-07-12 20:38:36 -07:00
Pat Cavit
482f0e71b9
docs: readme rework ( #1898 )
2017-07-12 20:34:45 -07:00
theRefugee
9b6ec10a93
Update request.md
2017-07-12 15:20:43 +02:00
Pierre-Yves Gérardy
e5bce90613
v1.1.3 change log
2017-07-11 12:24:54 +02:00
Pierre-Yves Gérardy
ea708869ba
Change log typo and oversight
2017-07-11 11:45:43 +02:00
Pierre-Yves Gérardy
868372ac54
v1.1.2 change log
2017-07-11 10:38:23 +02:00
Isaac
f7c4284ffc
Update webpack.config.js (in JSX docs)
...
Webpack doesn't support relative paths in the output.path config parameter, so this updated code uses the 'path' module to resolve the relative path.
2017-06-26 16:13:37 -06:00
Isaac
6a65ebc9af
Use manual path resolution in webpack.config.js
...
Webpack doesn't support relative paths in the output.path config parameter, so this updated code uses the 'path' module to resolve the relative path.
2017-06-26 16:11:57 -06:00
Joshua Olson
7052b60d2c
Fix 'Github' typos
2017-06-25 11:54:11 -06:00
Pierre-Yves Gérardy
6a6b38aee7
Merge pull request #1790 from spacejack/tutorial-remove-interpolation
...
Remove url interpolation from tutorial app
2017-06-14 00:00:55 +02:00
Pierre-Yves Gerardy
b004c20f0c
Make m.redraw() strictly asynchronous
2017-06-13 15:20:29 +02:00
Scotty Simpson
dfcbc8e2b3
docs: Update request.md ( #1851 )
2017-05-12 09:40:28 -07:00
Pierre-Yves Gérardy
085f5642be
Docs: Correct typos [skip CI]
2017-05-04 16:28:06 +02:00
Pierre-Yves Gérardy
0a1c634d99
Clarify m.route.params in RouteResolver.onmatch
2017-05-04 16:05:39 +02:00
Yuri
a560bca85d
Improve the documentation of routing parameters
...
I was stuck on this for a while earlier today: it turns out that `m.route.param` will not return the right results in the `onmatch` function on a `RouterResolver`, though it will inside of a `render` function on the same. This behavior is documented in the `onmatch` section but not the `m.route.param` section, which is where I was looking when I ran up against this earlier.
From an API design perspective it would make sense to me for `m.route.param` to return valid results inside `onmatch`, but I don't know enough about Mithril's internals to know how complex it would be to implement.
2017-05-03 21:21:57 -04:00
Andrea Coiutti
af3da16832
docs: Add favicon ( #1839 )
2017-05-02 09:34:13 -07:00
Pat Cavit
bef58fdfa5
chore: Update repo references ( #1834 )
2017-05-02 09:24:12 -07:00
Kevin Cameron
e966025171
Correct example code
2017-05-01 22:54:05 -07:00
Scotty Simpson
414e74ba47
docs: Fix typo in es6.md ( #1827 )
2017-04-30 23:36:47 -07:00
Isiah Meadows
b24c37c42d
Revert "Pass vnode as second argument"
2017-04-28 16:40:13 -04:00
Scotty Simpson
0587139252
docs: Update components.md ( #1818 )
...
I went with "its", but "our" could work, too. Both, though — hm. Seems silly.
2017-04-27 16:49:19 -07:00
micellius
b6a251b5b8
docs(jsx.md): add missing "!"
...
Add missing "!" to result of interpolation for `{greeting + "!"}` expression
2017-04-27 17:21:00 +03:00
David
e26e1f10c0
docs: URL Param + Variadic route doc ( #1813 )
2017-04-26 09:34:28 -07:00