Ferhat Elmasgüneş
0ed3695f78
Fixes component usage.
...
Updates `m.mount(document.body, <MyComponent />)` to `m.render(document.body, <MyComponent />)`.
After consuming a component using `m(component)`, you can't *mount* it to element but you can *render*.
2017-03-12 15:34:01 +02:00
Isiah Meadows
934e0ac55e
Merge branch 'next' into strict-mode
2017-03-09 11:54:32 -05:00
Leo Horie
622bd6e165
Merge pull request #1689 from tivac/auto-publish
...
Docs auto-push to gh-pages branch
2017-03-09 09:43:26 -05:00
Pierre-Yves Gerardy
74cbd4c17b
Let render() create the state rather than vnode()
2017-03-08 22:19:27 +01:00
Pat Cavit
43f050ae44
Docs auto-push to gh-pages branch
2017-03-07 22:07:55 -08:00
Красимир Беров
72359a76e3
Remove an obsolete line ( #1681 )
2017-03-04 23:38:34 +01:00
Pierre-Yves Gérardy
485febd0cc
typo
2017-03-04 16:38:34 +01:00
Patrik Johnson
59ed3c7d48
Always expose stream on m.stream, use unpkg for docs ( #1535 )
...
... and document how streams are exposed in when loaded as <script> in global context
2017-03-04 16:27:02 +01:00
Isiah Meadows
d4a0417dde
Merge branch 'next' of https://github.com/lhorie/mithril.js into strict-mode
2017-03-03 18:27:24 -05:00
Isiah Meadows
1cc5fa5ba7
"use strict" and other linty fixes
2017-03-03 18:24:38 -05:00
Leo Horie
5a9d7201e3
Merge pull request #1659 from barneycarroll/patch-13
...
Warn about data models w key props passed as attrs
2017-03-02 20:04:14 -05:00
Barney Carroll
57d3de1e5c
Docs: component props aren't copied to instances
2017-02-26 17:29:43 +00:00
Barney Carroll
97c60f9046
Close code blocks!
2017-02-24 13:35:42 +00:00
Barney Carroll
71dcde6adf
Warn about data models w key props passed as attrs
...
Hint to avoid problems such as those found here [February 23, 2017 6:28 PM](https://gitter.im/lhorie/mithril.js?at=58af29c47ceae5376a2d470e )
2017-02-24 10:54:07 +00:00
Leo
65941d1416
document classes
2017-02-19 08:29:35 -05:00
Leo
818c13dba9
fix example
2017-02-19 08:27:31 -05:00
Pat Cavit
a578ffafdf
docs: another minor formatting tweak
2017-02-17 13:30:33 -08:00
Pat Cavit
76a816be86
docs: fix heading levels to be consistent
2017-02-17 13:30:03 -08:00
Leo Horie
ff16c7f47a
Merge pull request #1618 from spacejack/api-docs-fixes
...
API docs signature fixes for route resolver, jsonp, fragment
2017-02-14 21:11:51 -05:00
Pat Cavit
03285f8279
docs: setting up mocks in non-browser env ( #1630 )
2017-02-14 14:35:28 -08:00
Leo
d6cbc1c324
Merge remote-tracking branch 'origin/next' into next
2017-02-14 08:15:54 -05:00
Leo
dc3d5f8494
fix migration example
2017-02-14 08:15:38 -05:00
spacejack
19f1ac8908
Minor fixes to get the tutorial working
2017-02-12 19:41:47 -05:00
spacejack
fc4d5f1892
resolver.render return type description consistent with m.render
2017-02-12 15:14:06 -05:00
spacejack
7e0a1db89f
API docs signature fixes for route resolver, jsonp, fragment
2017-02-11 21:31:10 -05:00
Leo
6dd9394fef
Merge remote-tracking branch 'origin/next' into next
2017-02-10 10:09:38 -05:00
Leo
632677e00c
fix update lifecycle in children of recycled
2017-02-10 10:09:18 -05:00
balajisivanath
a273f512df
Possible grammar correction
2017-02-09 22:59:45 +05:30
Leo
8feb6d3b39
add note about browser support
2017-02-09 08:44:37 -05:00
Leo
dc42b60687
#1609 fix lifecycle hooks in children of recycled keyed vnode
2017-02-09 08:31:08 -05:00
Luiz Paulo "Bills
1f38233a47
docs: better example codes ( #1606 )
2017-02-08 15:41:00 -08:00
Barry Els
153161b849
docs: Minor grammar and link bait update :) ( #1602 )
2017-02-08 11:30:34 -08:00
Yoshiki Shibukawa
c7e0b204f8
docs: Update route.md ( #1600 )
...
Fix typo
2017-02-07 23:02:39 -08:00
Pat Cavit
23a1693c02
docs: add m.route.build/parseQueryString to changelog ( #1594 )
2017-02-06 14:35:25 -08:00
Leo
e3b0861b8a
clean doc artifacts
2017-02-03 23:06:22 -05:00
Leo
a89e8cd405
add docs about mixed keys
2017-02-03 22:56:34 -05:00
Leo
5faa996805
fix some links
2017-02-02 08:30:41 -05:00
Leo
c861ade3fa
fix typo
2017-02-02 07:46:29 -05:00
maks feltrin
0ec2bd9ac3
fix doc typo
2017-02-02 00:37:48 +01:00
JTBrinkmann
29a14f2600
suggest alternative to animating box-shadow
2017-02-01 00:56:04 +01:00
Barney Carroll
f89f08f086
cocs: vnode copy proofing ( #1580 )
2017-01-31 12:01:19 -08:00
Barney Carroll
c12b3e8fc2
docs: fix key anti-pattern snippet ( #1577 )
2017-01-31 10:06:21 -08:00
Barney Carroll
c8ed22fb08
docs: intro: valid HTML snippet ( #1574 )
...
Declaring scripts after the closing body tag looks like a typo
2017-01-31 10:04:26 -08:00
Barney Carroll
dba5ee7d98
docs: fix text size variations on mobile webkit ( #1571 )
2017-01-31 10:03:24 -08:00
alexander_travov
402ae96d37
docs: mithril does not autoredraw on Promise resolution. ( #1570 )
2017-01-31 10:02:10 -08:00
Patrik Johnson
70ee93d6ae
docs: Fix broken link ( #1569 )
2017-01-30 16:39:28 -08:00
Leo
04aadb27ef
Merge remote-tracking branch 'origin/next' into next
2017-01-30 18:58:47 -05:00
Leo
3640464841
fix hamburger link
2017-01-30 18:58:20 -05:00
Gheorghe Anghelescu
aaa9c17117
docs: use https in installation docs ( #1568 )
2017-01-30 13:47:49 -08:00
Isiah Meadows
761d6f7b40
Merge pull request #1565 from barneycarroll/patch-8
...
Fix typos in CSS-in-JS, qualify J2C recommendation
2017-01-30 14:42:19 -05:00