Commit graph

2775 commits

Author SHA1 Message Date
Pierre-Yves Gerardy
8a7f2f85d7 v1.1.1 2017-04-04 12:43:44 +02:00
Pierre-Yves Gerardy
4772055629 Merge branch 'next' 2017-04-04 12:42:26 +02:00
Pierre-Yves Gérardy
b466c7f6d6 Merge pull request #1774 from pygy/chlg
Fix change log
2017-04-04 12:36:38 +02:00
Pierre-Yves Gerardy
906d1d18ed Fix change log 2017-04-04 12:35:34 +02:00
Gandalf-the-Bot
0b5f05f4ae Bundled output for commit d60e7ab30c [skip ci] 2017-04-04 10:28:10 +00:00
Pierre-Yves Gérardy
d60e7ab30c Merge pull request #1769 from pygy/fix-class-null
hyperscript: Revert attrs.class creation logic to what we had in v1.0.1. fix #1764
2017-04-04 12:27:00 +02:00
Pierre-Yves Gerardy
98e3cbdc69 Revert attrs.class creation logic to what we had in v1.0.1. fix #1764 2017-04-04 12:23:51 +02:00
Pierre-Yves Gerardy
45afd4117a Fix render tests for Browsers 2017-04-04 12:10:08 +02:00
Pierre-Yves Gérardy
94c155ef04 Merge pull request #1772 from andre-luiz-dos-santos/patch-1
Typo
2017-04-03 20:16:15 +02:00
André Luiz dos Santos
ec915bf919 Typo 2017-04-03 14:46:53 -03:00
Isiah Meadows
1ebb613e10 Merge branch 'next' of https://github.com/lhorie/mithril.js into next 2017-04-03 08:16:09 -04:00
Isiah Meadows
0971bf4fdd Update .gitattributes [skip ci] 2017-04-03 08:15:45 -04:00
Pierre-Yves Gérardy
7240f98a03 Merge pull request #1770 from pygy/prepare-v1.1.1
Update change log for v1.1.1
2017-04-03 11:19:54 +02:00
Pierre-Yves Gerardy
63ce8995a2 Update change log for v1.1.1 2017-04-03 11:17:37 +02:00
Pierre-Yves Gérardy
30edf36901 Merge pull request #1766 from pygy/fix-ie10-11-hash-routes
[mocks] make location.onhashchange debounced async
2017-04-01 18:12:55 +02:00
Pierre-Yves Gerardy
d0ee256390 [mocks] make location.onhashchange debounced async 2017-04-01 16:48:22 +02:00
Isiah Meadows
cc5d7c4270 Merge pull request #1761 from hankeypancake/update-keys-docs
Improve keys example
2017-03-30 15:52:02 -04: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
Gandalf-the-Bot
5790f8f2dd Bundled output for commit 295b764f52 [skip ci] 2017-03-29 22:26:25 +00:00
Isiah Meadows
295b764f52 Merge pull request #1753 from StephanHoyer/master
Fix rendering `0` as only child without attrs - fixes #1752
2017-03-29 18:24:19 -04:00
Isiah Meadows
baa2dc1ab0 Revert "Merge pull request #1753 from StephanHoyer/master"
This reverts commit 000eec90d8, reversing
changes made to e88bddb3c8.
2017-03-29 18:22:27 -04:00
Isiah Meadows
4b84f511a9 Merge pull request #1758 from smuemd/patch-2
button[type=button] => button[type=submit]
2017-03-29 17:48:34 -04: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
207dea91da docs: merge 7ba74ad and friends 2017-03-28 11:37:07 -07:00
Pat Cavit
7ba74ad424 docs: Fix missing generated docs (#1754) 2017-03-28 11:21:01 -07:00
Isiah Meadows
000eec90d8 Merge pull request #1753 from StephanHoyer/master
Fix rendering `0` as only child without attrs - fixes #1752
2017-03-28 06:41:16 -04:00
Stephan Hoyer
7960781ea1 Fix rendering 0 as only child without attrs - fixes #1752 2017-03-28 12:25:14 +02:00
Pat Cavit
87a053224c docs: updated releasing workflow 2017-03-27 15:24:36 -07:00
Pierre-Yves Gérardy
a6bb1d4651 docs: update the toc of components.md to match the content (#1748) 2017-03-27 15:19:16 -07:00
Pat Cavit
e88bddb3c8 docs: docs fixes and changelog 2017-03-27 15:14:36 -07:00
Pat Cavit
5d9694cc2e docs: remove fake change 2017-03-27 15:12:22 -07:00
Pat Cavit
d8627ca786 docs: correct version on change-log 2017-03-27 15:09:56 -07:00
Pat Cavit
5cb05c1ee7 1.1.0 2017-03-27 14:58:03 -07:00
Pat Cavit
512199df01 chore: remove npm publish tag 2017-03-27 14:57:44 -07:00
Pat Cavit
eded5255ba v1.1.0-rc.1 2017-03-27 14:31:03 -07:00
Pat Cavit
4d795364b0 chore: correct npm-created git tag 2017-03-27 14:28:07 -07:00
Pat Cavit
7b0674cf65 chore: publish to npm as mithril@next 2017-03-27 14:25:22 -07:00
Pat Cavit
46ebb340d1 merge: next onto master 2017-03-27 14:21:52 -07:00
Gandalf-the-Bot
6541d5ecf8 Bundled output for commit 0ce5dcac3b [skip ci] 2017-03-27 20:52:41 +00:00
Pierre-Yves Gérardy
0ce5dcac3b Merge pull request #1746 from pygy/class-closure-compat
Class and closure components backwards compatibility fixes
2017-03-27 22:51:34 +02:00
Isiah Meadows
40637fe99f Update components.md [ci skip] 2017-03-27 12:41:45 -04:00
Pierre-Yves Gerardy
0a76772283 Add tests for components that overwrite their state in oninit 2017-03-27 18:30:48 +02:00
Pierre-Yves Gerardy
e20fd3f876 Only call onremove and onbeforeremove when they are functions. Fix #1706 2017-03-27 16:47:45 +02:00
Pierre-Yves Gerardy
f7450c96b0 Document closure components (formerly known as "factory components") and flesh out class components docs 2017-03-27 16:47:45 +02:00
Pierre-Yves Gerardy
32ada55e00 Make the state undefined, not null during class and closure component initialization 2017-03-27 10:42:12 +02:00
Pierre-Yves Gerardy
2d2c53fcfc Add some docs on undocumented vnode fields 2017-03-26 23:01:04 +02:00
Pierre-Yves Gerardy
d69f6e37aa Add a shadow vnode._state field for view and hook lookups 2017-03-26 22:24:17 +02:00