Evan You
dacd0cf582
createElement flow type correction
8 years ago
Evan You
7ffa77f3df
optimize instance hook event lookup
8 years ago
Evan You
7c9e81e772
optimize initEvents
8 years ago
Marshall Shen
6cfd6c7fe9
change any to mixed to make it more type-safe ( #4458 )
8 years ago
Evan You
4b51ad0483
rename _h -> _c so that vue-template-es2015-compiler can use the new internal createElement without breaking backwards compatibility
8 years ago
Evan You
207c18c47f
further reduce normalizeChildren usage
8 years ago
Evan You
79e1058799
wip: refactor compiler to skip normalization when possible
wip fix
wip fix
wip fix
8 years ago
Evan You
e8d6bd9dc7
allow modifier key modifiers on keyboard events and warn overwriting in config.keyCodes
8 years ago
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
8 years ago
Evan You
aa5f5d1198
ensure $scopedSlots is always an object ( close #4301 )
8 years ago
Evan You
9ddbbcc340
wip: scoped slot implementation
8 years ago
Evan You
ec824be88e
fix v-once inside v-for ( fix #3964 )
8 years ago
Evan You
99ea0f8229
adjust named slot resolve check ( fix #3819 )
8 years ago
Evan You
56960b5fbc
support object looseEqual in v-model ( fix #3673 )
8 years ago
Evan You
d6a7568891
improve v-bind implementation and make it work on components ( fix #3670 )
8 years ago
Evan You
4afccc8eec
proper slot duplication warning ( fix #3595 )
8 years ago
Evan You
4d640ce4d9
tweak v-if to avoid unnecessary node replacement
8 years ago
Evan You
1e74675053
expose Vue.set/delete on instances as vm.$set/$delete
8 years ago
Evan You
18386c4cf4
fix static nodes optimization inside v-for ( fix #3406 )
8 years ago
Evan You
e6871a33c1
update flow annotations
8 years ago
Evan You
7630622689
expose component placeholder node in render fns as this.$vnode
9 years ago
Evan You
3661b4e78e
add _inactive property
9 years ago
Evan You
cf8aeddc12
fix v-once with v-for and remove unused _t method ( fix #3155 )
9 years ago
Evan You
1d8f3a264e
better global mixin strategy
9 years ago
Evan You
3fe127b05a
fix v-model number conversion ( fix #3140 )
9 years ago
Evan You
f0b8f2e290
attach __vue__ to elements to support devtools
9 years ago
Evan You
563672e5fe
fix flow def
9 years ago
Evan You
4fe51a75a9
prohibit replacing Vue.config + support custom keyCodes
9 years ago
Evan You
cb67ffe442
ensure abstract HOCs do not alter parent chain
9 years ago
Evan You
060fab9ec1
make ref a runtime module
9 years ago
Evan You
d40ab0ca87
fix component client-side hydration
9 years ago
Evan You
3e596bb97b
handle event removal
9 years ago
Evan You
69abe1b726
make sure to expose real instance instead of proxy as vnode.context
9 years ago
Evan You
8d229b2442
support v-bind on objects
9 years ago
Evan You
6fe268874c
improve codegen for smaller generated code size
9 years ago
Jinjiang
2e8dfe5d9a
revert _init method for Vuex ( #2886 )
9 years ago
Evan You
0dc5d96e3c
fix declarations
9 years ago
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
9 years ago
Evan You
7b3ba65f4e
declare component options shape
9 years ago
Evan You
45d96c7dbc
annotation for vdom (wip)
9 years ago
Evan You
1b7ab89a5d
rework type annotation strategy: use interface instead
9 years ago
Evan You
354ea616b5
annotate Vue class
9 years ago
Evan You
6d712753d8
annotate ssr code
9 years ago