spacejack
|
08a6638926
|
Minimize vdom diff in option value test
|
2017-04-30 15:14:44 -04:00 |
|
spacejack
|
0f9d5f1631
|
Fix select option to use empty string value, add tests.
|
2017-04-30 15:04:37 -04:00 |
|
Isiah Meadows
|
b24c37c42d
|
Revert "Pass vnode as second argument"
|
2017-04-28 16:40:13 -04:00 |
|
spacejack
|
f8ccd418d3
|
Add test for select option with empty string value
|
2017-04-26 20:07:25 -04:00 |
|
Isiah Meadows
|
2fcaafd080
|
Merge pull request #4 from lhorie/next
Update fork
|
2017-04-11 13:35:35 -04:00 |
|
Isiah Meadows
|
81b7ff56ee
|
Add tests for event vnode second argument
|
2017-04-11 13:09:38 -04:00 |
|
Isiah Meadows
|
e78d1b692c
|
Support vnode event callbacks
|
2017-04-11 13:05:12 -04:00 |
|
Pat Cavit
|
34d6a710a9
|
style: fix quotes (#1787)
|
2017-04-07 12:56:31 -07:00 |
|
ludbek
|
5c616c0fbb
|
removed console.log
|
2017-04-05 22:01:21 +05:45 |
|
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 |
|
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 |
|
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
|
32ada55e00
|
Make the state undefined, not null during class and closure component initialization
|
2017-03-27 10:42:12 +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 |
|
Pierre-Yves Gerardy
|
7be2ff5feb
|
Strengthen the self-return prevention logic (for recycled nodes and updates)
|
2017-03-26 22:19:05 +02:00 |
|
Pierre-Yves Gerardy
|
aeb1c41bde
|
treat functions with a view() method as POJO, not closure component
|
2017-03-26 21:33:30 +02:00 |
|
Isiah Meadows
|
934e0ac55e
|
Merge branch 'next' into strict-mode
|
2017-03-09 11:54:32 -05:00 |
|
Pierre-Yves Gerardy
|
74cbd4c17b
|
Let render() create the state rather than vnode()
|
2017-03-08 22:19:27 +01: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 |
|
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
|
aefee3b88e
|
Merge branch 'test-all-component-kinds' of https://github.com/pygy/mithril.js into next
|
2017-02-25 23:00:20 -05:00 |
|
Pierre-Yves Gerardy
|
3e7649ef06
|
Fix recycled components initialization
fix #1641
|
2017-02-24 09:26:26 +01:00 |
|
Leo
|
e019c8131c
|
fix merge conflicts for #1610
|
2017-02-23 18:41:46 -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 |
|
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 |
|
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 |
|
Pierre-Yves Gérardy
|
3f3af74dde
|
Support classes and factories as components (#1339)
* Support classes and factories as components
* Tests for class and factory component support
|
2017-02-14 22:48:02 -05:00 |
|
Pierre-Yves Gérardy
|
75b20e86e8
|
test: Re-enable the test suite (#1616)
|
2017-02-11 14:04:27 -08:00 |
|
Leo
|
632677e00c
|
fix update lifecycle in children of recycled
|
2017-02-10 10:09:18 -05:00 |
|
Leo
|
0d9a51fe37
|
fix lifecycle in unkeyed child of recycled keyed
|
2017-02-09 09:54:48 -05:00 |
|
Leo
|
dc42b60687
|
#1609 fix lifecycle hooks in children of recycled keyed vnode
|
2017-02-09 08:31:08 -05:00 |
|
Tetsuro Yoshikawa
|
fdf2985adf
|
Error in IE11 due to setting of type attribute
If you assign an input type that is not supported by IE11 with an
assignment expression, an error will occur.
|
2017-02-09 22:27:55 +09:00 |
|
Gyandeep Singh
|
390e1fe343
|
Update: Add elem to parent before adding its children
|
2017-02-07 21:55:01 -06:00 |
|
Pat Cavit
|
5ab2cf4172
|
fix: Use loose comparison for non-string values
fixes #1593
|
2017-02-06 14:46:31 -08:00 |
|