Commit Graph

35 Commits

Author SHA1 Message Date
Evan You
207c18c47f further reduce normalizeChildren usage 2016-12-05 02:36:40 +01:00
Evan You
79e1058799 wip: refactor compiler to skip normalization when possible
wip fix

wip fix

wip fix
2016-12-05 02:36:40 +01:00
Evan You
e8d6bd9dc7 allow modifier key modifiers on keyboard events and warn overwriting in config.keyCodes 2016-12-01 14:31:55 -05:00
chengchao
6ea9a4db42 Support mutliple keys for keycode (#4328)
* support mutliple keys for keycode

* update flow type

* add test case

* update comment

* update flow type

* update comment
2016-11-30 12:16:10 -05:00
Evan You
aa5f5d1198 ensure $scopedSlots is always an object (close #4301) 2016-11-23 18:04:35 -05:00
Evan You
9ddbbcc340 wip: scoped slot implementation 2016-11-20 12:03:43 -05:00
Evan You
ec824be88e fix v-once inside v-for (fix #3964) 2016-11-02 22:34:36 -04:00
Evan You
99ea0f8229 adjust named slot resolve check (fix #3819) 2016-09-30 14:19:16 -04:00
Evan You
56960b5fbc support object looseEqual in v-model (fix #3673) 2016-09-14 11:35:30 -04:00
Evan You
d6a7568891 improve v-bind implementation and make it work on components (fix #3670) 2016-09-14 10:14:45 -04:00
Evan You
4afccc8eec proper slot duplication warning (fix #3595) 2016-09-08 11:47:22 +02:00
Evan You
4d640ce4d9 tweak v-if to avoid unnecessary node replacement 2016-08-27 17:01:57 -04:00
Evan You
1e74675053 expose Vue.set/delete on instances as vm.$set/$delete 2016-08-17 13:53:50 -04:00
Evan You
18386c4cf4 fix static nodes optimization inside v-for (fix #3406) 2016-08-08 19:03:00 -04:00
Evan You
e6871a33c1 update flow annotations 2016-07-15 17:48:42 -04:00
Evan You
7630622689 expose component placeholder node in render fns as this.$vnode 2016-07-06 12:50:08 -04:00
Evan You
3661b4e78e add _inactive property 2016-06-28 04:00:32 -04:00
Evan You
cf8aeddc12 fix v-once with v-for and remove unused _t method (fix #3155) 2016-06-27 11:18:06 -04:00
Evan You
1d8f3a264e better global mixin strategy 2016-06-25 10:43:19 -04:00
Evan You
3fe127b05a fix v-model number conversion (fix #3140) 2016-06-22 21:43:52 -04:00
Evan You
f0b8f2e290 attach __vue__ to elements to support devtools 2016-06-22 14:18:56 -04:00
Evan You
563672e5fe fix flow def 2016-06-22 11:41:30 -04:00
Evan You
4fe51a75a9 prohibit replacing Vue.config + support custom keyCodes 2016-06-22 11:35:33 -04:00
Evan You
cb67ffe442 ensure abstract HOCs do not alter parent chain 2016-06-05 16:14:51 -04:00
Evan You
060fab9ec1 make ref a runtime module 2016-06-01 19:52:42 -04:00
Evan You
d40ab0ca87 fix component client-side hydration 2016-06-01 18:20:13 -04:00
Evan You
3e596bb97b handle event removal 2016-06-01 14:49:51 -04:00
Evan You
69abe1b726 make sure to expose real instance instead of proxy as vnode.context 2016-05-26 12:57:45 -04:00
Evan You
8d229b2442 support v-bind on objects 2016-05-24 20:41:06 -04:00
Evan You
6fe268874c improve codegen for smaller generated code size 2016-05-18 20:57:51 -04:00
Jinjiang
2e8dfe5d9a revert _init method for Vuex (#2886) 2016-05-17 09:58:24 -04:00
Evan You
0dc5d96e3c fix declarations 2016-05-14 15:54:49 -04:00
Jinjiang
20fb79a1ea new render mechanism (#2857)
* updated compiler with new render functions

* separated createElement into renderSelf & renderElement
supported getters for text node & static root

* adapted new element creator into render call

* improved \$createElement

* fixed by flow check

* fixed ssr bugs for $createElement
2016-05-14 15:49:18 -04:00
Evan You
7b3ba65f4e declare component options shape 2016-05-14 04:10:48 -04:00
Evan You
45d96c7dbc annotation for vdom (wip) 2016-05-14 03:08:21 -04:00