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 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
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
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
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
Pierre-Yves Gerardy
fc038f9d85
Tests: enable tests for #1638
2017-02-21 09:17:00 +01:00
Pierre-Yves Gerardy
1dd5fe3101
Tests: Some more render/tests/test-component.js refactoring
2017-02-21 09:17:00 +01:00
Pierre-Yves Gerardy
2196f5c909
Add test-utils/components.js to index.html where needed
2017-02-21 09:16:08 +01:00
Isiah Meadows
1a4bcc44e6
Keep the bundles out of the diffs
...
Makes reviewing a little easier.
2017-02-20 18:32:20 -05:00
Leo
65941d1416
document classes
2017-02-19 08:29:35 -05:00
Leo
271ef96fef
Merge remote-tracking branch 'origin/next' into next
2017-02-19 08:27:48 -05:00
Leo
818c13dba9
fix example
2017-02-19 08:27:31 -05:00
Yoshiki Shibukawa
b86805ada3
when method is GET and TRACE, useBody becomes always false
2017-02-19 22:03:44 +09:00
Pierre-Yves Gerardy
fca89f987f
Tests: enable the three kind of components in all related files but api/tests/test-route.js
2017-02-19 02:14:15 +01:00
Pierre-Yves Gerardy
24243dba94
Tests: wrap the rest of the components definitions
2017-02-19 02:14:15 +01:00
Pierre-Yves Gerardy
ac38335453
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
2017-02-19 02:14:15 +01:00
Pierre-Yves Gerardy
90b67b42f0
Tests: render/test-components tweaks
2017-02-19 02:14:15 +01:00
Pierre-Yves Gerardy
f96319e6f6
Tests: add dummy forEach blocks around sections with components
2017-02-19 02:14:15 +01:00
Pierre-Yves Gerardy
a8e5189f0b
Tests: factory => closure components
2017-02-19 02:14:15 +01:00
Pierre-Yves Gerardy
d7f39a8254
Tests: group together tests with/without components
2017-02-19 02:14:15 +01:00
Pierre-Yves Gerardy
eccea68212
Add test-utils/components.js and its tests
2017-02-19 02:14:15 +01:00
Gandalf-the-Bot
1a6554423d
Bundled output for commit 732ddf06be [skip ci]
2017-02-18 15:06:33 +00:00
Leo Horie
732ddf06be
Merge pull request #1595 from tivac/issues-1593
...
Loose comparison when early-outing from setting attributes
2017-02-18 10:05:42 -05:00
Leo Horie
d31e0a88f8
Merge pull request #1612 from bruce-one/xhr-abort
...
Avoid inaccurately inferring xhr abort.
2017-02-18 10:01:43 -05:00
Leo Horie
0412ed8218
Merge pull request #1640 from spacejack/class-factory-types
...
Add class and factory component type definitions.
2017-02-18 09:50:34 -05:00
Gandalf-the-Bot
68daa36e71
Bundled output for commit b9639dc485 [skip ci]
2017-02-18 14:47:21 +00:00