Isiah Meadows
934e0ac55e
Merge branch 'next' into strict-mode
2017-03-09 11:54:32 -05:00
Leo Horie
5fa4c6025a
Merge pull request #1555 from pygy/ospec-no-global-install
...
[ospec:docs] Document the fact that ospec doesn't work when installed globally
2017-03-09 09:47:13 -05:00
Leo Horie
b71d437fa7
Merge pull request #1657 from me7/Fix-todomvc-state.update-and-ui.save
...
Fix todomvc state.update and ui.save
2017-03-09 09:45:39 -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
Leo Horie
a2ee51b99c
Merge pull request #1696 from spacejack/remove-types
...
Remove typescript definitions
2017-03-09 09:41:37 -05:00
spacejack
3f981be83a
Remove typescript definitions
2017-03-08 21:41:19 -05:00
Gandalf-the-Bot
0ceb42ed01
Bundled output for commit de3573497d [skip ci]
2017-03-08 23:54:02 +00:00
Leo Horie
de3573497d
Merge pull request #1695 from pygy/anarchy
...
Let `render()` create the state rather than `vnode()`
2017-03-08 18:53:07 -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
Gandalf-the-Bot
1ffa4cf183
Bundled output for commit 27c6b7930a [skip ci]
2017-03-07 15:21:39 +00:00
Leo Horie
27c6b7930a
Merge pull request #1672 from isiahmeadows/perf-update
...
Optimize memory for selector cache
2017-03-07 10:19:15 -05:00
Gandalf-the-Bot
3e5597e4d0
Bundled output for commit 24b96817a3 [skip ci]
2017-03-07 14:52:18 +00:00
Leo Horie
24b96817a3
Merge pull request #1682 from pygy/iice-to-iife
...
IICE => IIFE
2017-03-07 09:50:06 -05:00
Isiah Meadows
2b1fe6ca07
Diff stream bundle as binary [ci skip]
2017-03-05 02:19:46 -05:00
Красимир Беров
72359a76e3
Remove an obsolete line ( #1681 )
2017-03-04 23:38:34 +01:00
Pierre-Yves Gerardy
c3d015be28
IICE => IIFE
2017-03-04 23:24:21 +01:00
Pierre-Yves Gérardy
485febd0cc
typo
2017-03-04 16:38:34 +01:00
Pierre-Yves Gérardy
fe793ff548
Merge pull request #1679 from RobertAKARobin/next
...
Put Stream in IIFE so variables aren't global
2017-03-04 16:36:15 +01:00
Pierre-Yves Gérardy
273d3d4740
Merge branch 'next' into next
2017-03-04 16:34:15 +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
RobertAKARobin
23e4a57114
Put Stream in IIFE so variables aren't global
...
...when imported into the browser via <script> tags.
2017-03-03 20:44:41 -06:00
Isiah Meadows
c0061a8eb9
Merge branch 'next' of https://github.com/lhorie/mithril.js into perf-update
2017-03-03 18:28:07 -05: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
dc875fdbd3
Merge pull request #1662 from spacejack/stream-scan-types
...
Add stream/scan, stream/scanMerge type definitions
2017-03-02 20:05:07 -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
Gandalf-the-Bot
38db32e8b7
Bundled output for commit 9d6a5e51eb [skip ci]
2017-03-02 19:29:12 +00:00
Isiah Meadows
9d6a5e51eb
Merge pull request #1674 from pygy/fix-state-initialization
...
Fix state initialization
2017-03-02 14:28:16 -05:00
Isiah Meadows
b34c3eaf82
Optimize memory for selector cache
2017-03-02 06:34:01 -05:00
Isiah Meadows
aaa6de784b
Merge pull request #1665 from barneycarroll/patch-14
...
Docs: component props aren't copied to instances
2017-02-27 10:44:32 -05:00
Barney Carroll
57d3de1e5c
Docs: component props aren't copied to instances
2017-02-26 17:29:43 +00:00
Isiah Meadows
aefee3b88e
Merge branch 'test-all-component-kinds' of https://github.com/pygy/mithril.js into next
2017-02-25 23:00:20 -05:00
pixelmike
70bf37cba6
Add stream/scan, scanMerge types
2017-02-25 18:34:32 -05:00
Gandalf-the-Bot
64792cbb11
Bundled output for commit 60e8f307f1 [skip ci]
2017-02-25 20:55:13 +00:00
Pierre-Yves Gérardy
60e8f307f1
Fix state initialization ( #1652 )
...
* Add test-utils/components.js and its tests
* Tests: group together tests with/without components
* Tests: factory => closure components
* Tests: add dummy forEach blocks around sections with components
* Tests: render/test-components tweaks
* Tests: Wrap some component definitions in `createComponent()` calls
These are the ones that would have been tedious to automate.
jscodeshift will handle the remaining ones
* Tests: wrap the rest of the components definitions
* Tests: enable the three kind of components in all related files but api/tests/test-route.js
* Add test-utils/components.js to index.html where needed
* Tests: Some more render/tests/test-component.js refactoring
* Tests: enable tests for #1638
* fix #1638
* Test: ensure that recycled components get a fresh state
* Tests: add a test for onbeforeupdate and recycled nodes
* Fix recycled components initialization
fix #1641
2017-02-25 15:53:51 -05: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
Pierre-Yves Gerardy
3e7649ef06
Fix recycled components initialization
...
fix #1641
2017-02-24 09:26:26 +01:00
Gandalf-the-Bot
3786373b58
Bundled output for commit ed5d9a2711 [skip ci]
2017-02-23 23:46:47 +00:00
Leo
ed5d9a2711
update linter
2017-02-23 18:45:47 -05:00
Leo
7f12a7e940
rebuild
2017-02-23 18:42:27 -05:00
Leo
e019c8131c
fix merge conflicts for #1610
2017-02-23 18:41:46 -05:00
Gandalf-the-Bot
c501f0fd81
Bundled output for commit d29c16e0a6 [skip ci]
2017-02-23 23:40:18 +00:00
Leo Horie
d29c16e0a6
Merge pull request #1645 from shibukawa/fix/request_use_body
...
When method is GET and TRACE, useBody becomes always false
2017-02-23 18:39:26 -05:00
Gampol T
450570d4c9
fix ui.save not detect escape key
...
change event from onkeypress to onkeyup because onkeypress cannot detect escape key press
if (e.keyCode === 27)
2017-02-23 17:48:13 +07:00
Gampol T
f6e627a891
fix state.update not destroy when edit text blank
...
if (state.editing.title === "") should call state.destroy() instead of destroy()
2017-02-23 17:45:25 +07:00
Pierre-Yves Gerardy
6a7144fc89
Tests: add a test for onbeforeupdate and recycled nodes
2017-02-21 09:17:00 +01:00
Pierre-Yves Gerardy
e496f7bfa6
Test: ensure that recycled components get a fresh state
2017-02-21 09:17:00 +01:00
Pierre-Yves Gerardy
7668ddd120
fix #1638
2017-02-21 09:17:00 +01:00