Commit graph

1145 commits

Author SHA1 Message Date
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
Isiah Meadows
040a70ff99 Merge pull request #1796 from isiahmeadows/vnode-event
Pass `vnode` as second argument
2017-04-24 14:40:23 -04:00
Pierre-Yves Gérardy
8416afb6b8 Merge pull request #1795 from tivac/code-of-conduct
Add code of conduct
2017-04-19 15:55:04 +02:00
Pat Cavit
034ef4d318 docs: add master -> next merge for package.json 2017-04-13 09:42:22 -07:00
cavemansspa
7ad1b2edcf Add example for mounting a component with args 2017-04-12 10:23:50 -04:00
Pat Cavit
05990024e1 docs: flesh out releasing process further 2017-04-11 11:17:25 -07:00
Isiah Meadows
2fcaafd080 Merge pull request #4 from lhorie/next
Update fork
2017-04-11 13:35:35 -04:00
Isiah Meadows
a92ffb3077 Clarify events, document extra vnode property 2017-04-11 13:33:46 -04:00
Pat Cavit
3409a72c4e docs: add code of conduct and nav link 2017-04-11 10:32:00 -07:00
Pierre-Yves Gérardy
2dc5522af5 Merge branch 'next' into load-mithril 2017-04-11 10:27:52 +02:00
Pat Cavit
94dfc52a98 docs: add simple scaffolding pen to intro section 2017-04-10 23:50:07 -07:00
Pat Cavit
4cfd0c4070 docs: load mithril on mithril.js.org
For futzing around in the dev console
2017-04-10 23:43:10 -07:00
Pat Cavit
451cf00951 docs: add incrementing value to repeated anchors 2017-04-10 23:31:56 -07:00
Pat Cavit
96fb9a5bbd docs: add examples for tutorial 2017-04-10 23:31:44 -07:00
spacejack
5e654452e1 Remove url interpolation from tutorial app 2017-04-09 15:19:24 -04:00
Pat Cavit
9a54b12702 docs: fix some links 2017-04-06 21:01:52 +00:00
Pat Cavit
6d23e0913c docs: try to improve releasing docs 2017-04-06 20:41:55 +00:00
Pierre-Yves Gerardy
906d1d18ed Fix change log 2017-04-04 12:35:34 +02:00
Pierre-Yves Gerardy
63ce8995a2 Update change log for v1.1.1 2017-04-03 11:17:37 +02:00
Henrik Myntti
c32d508de1 Improve keys example
The previous example about hiding keys had syntax errors, and example in itself didn't follow our own guidelines (key should be on immediate child of an array)

In the new example we reuse the code from the previous example but break out a User component (which is much more likely) and the example says to move the key from inside the user component instead
2017-03-30 18:46:42 +02:00
Pierre-Yves Gérardy
5c42e3dc22 Merge pull request #1756 from JAForbes/patch-1
Acknowledge multiple component creation strategies
2017-03-30 16:04:25 +02:00
James Forbes
6612cf6ebd ES6 classes may require build tools.
Instead of saying they won't need build tools, we can say that we only use native features of the language which usually makes for a simpler project.
2017-03-30 12:09:17 +11:00
Stefan Thon
c904758f10 button[type=button] => button[type=submit]
I went through the tutorial.
button[type=button] was not working for me.
button[type=submit] did.
2017-03-29 11:14:43 +02:00
James Forbes
5e3b0adec3 Acknowledge multiple component creation strategies 2017-03-29 16:23:39 +11:00
Pat Cavit
7ba74ad424 docs: Fix missing generated docs (#1754) 2017-03-28 11:21:01 -07:00
Pat Cavit
87a053224c docs: updated releasing workflow 2017-03-27 15:24:36 -07:00