Commit Graph

32 Commits

Author SHA1 Message Date
Evan You
207c18c47f further reduce normalizeChildren usage 2016-12-05 02:36:40 +01:00
Evan You
7b389bc34e avoid warning unknown custom elements in v-pre 2016-11-24 12:47:27 -05:00
Evan You
303378f85b support default scoped slot + function children as scoped slot 2016-11-20 12:03:43 -05:00
Evan You
ff551029bf wip: fix flow type for weex merge 2016-11-07 16:26:06 -05:00
Evan You
b69b4a4eef tweak style merge for performance 2016-11-07 16:20:10 -05:00
chengchao
e960cd104e enable style merge behavior between parent-child components (fix #3997) (#4138)
* merge style between components

* update test case

* update style compiler

* add paren to style binding code

* update background property parsing

* introduce interpolation warning and refactor var to const
2016-11-07 16:19:48 -05:00
chengchao
0cd1489e68 .number modifier should work with select, radio, checkbox (fix #4018) (#4022)
* support number modifier in select, radio, checkbox

* add test case

* add ASTModifier type to specify modifiers type

* fix typo

* keep code consistent
2016-11-01 11:50:22 -04:00
Evan You
1fa3844dc2 refactor directive update implementation 2016-10-11 20:31:13 -04:00
Evan You
ed2085974b ensure mergeVNodeHook does not inject duplicate hooks 2016-08-26 19:19:51 -04:00
Evan You
d2df58e547 move v-show marker to runtime so that render functions work as expected (fix #3488) 2016-08-20 11:14:41 -04:00
Evan You
ba5fb31188 fix transition insert hook duplicate invocation on slot nodes (fix #3474) 2016-08-18 12:00:31 -04:00
Evan You
18386c4cf4 fix static nodes optimization inside v-for (fix #3406) 2016-08-08 19:03:00 -04:00
Evan You
fe801b16e4 wip: fix $parent after children change 2016-08-05 12:43:35 -04:00
Evan You
b5b963f51d wip: refactor children resolution (remove thunk mechanism) 2016-08-05 12:10:13 -04:00
Evan You
c66b7566c6 fix flow 2016-08-05 03:10:40 -04:00
Evan You
59b2a0eeb3 support class/style in v-bind object 2016-08-05 02:59:33 -04:00
Evan You
40b93e6527 avoid unnecessary enter transitions on nested inserted elements 2016-08-04 22:17:59 -04:00
Evan You
35ee5b105e remove staticAttrs 2016-07-29 10:45:43 -04:00
Evan You
3ce450b6dc use more proper flow type syntax 2016-07-25 21:28:46 -04:00
Evan You
ea9c6c37c3 support v-on .native modifier on components 2016-07-19 18:56:10 -04:00
Evan You
69ecdcb05e rename vnode.data.props -> domProps 2016-07-19 17:52:10 -04:00
Evan You
e6871a33c1 update flow annotations 2016-07-15 17:48:42 -04:00
Evan You
9421bd4806 extract getRealChild for abstract components 2016-07-06 17:07:46 -04:00
Evan You
a5a9dc9b69 support keep-alive 2016-06-04 10:53:05 -04:00
Evan You
4bcdce895c record original tag name on vnode for components using is attribute 2016-06-02 18:18:32 -04:00
Evan You
d40ab0ca87 fix component client-side hydration 2016-06-01 18:20:13 -04:00
Evan You
f8cfc81826 remove unnecessary v-pre related code 2016-06-01 15:03:09 -04:00
Evan You
7f85acb4e5 expose oldValue on directive bindings 2016-05-24 18:28:17 -04:00
Evan You
837853d95a better inferring of component names in warnings 2016-05-19 13:58:11 -04:00
Evan You
750bec1024 annotate platforms/web 2016-05-14 07:40:56 -04:00
Evan You
59fcd4e7a7 finish annotating vdom 2016-05-14 03:38:41 -04:00
Evan You
45d96c7dbc annotation for vdom (wip) 2016-05-14 03:08:21 -04:00