Herrington Darkholme
bacb911f7d
fix(warning): allow symbol as vdom key ( #7271 )
7 years ago
Evan You
01c07503bf
revert: revert prop object validation
close #7279
7 years ago
Evan You
1dd6b6f046
refactor: adjust weex branch coverage and build for merging into dev
7 years ago
Hanks
661bfe552e
feat(weex): partially support lifecycles of virtual component ( #7242 )
Update the `_init` and `_update` logic to partially support lifecycles.
Add test cases for testing the lifecycle hooks and data update.
7 years ago
Hanks
d544d052a9
fix(weex): append as tree by default for recycle-list and cell-slot ( #7216 )
7 years ago
Hanks
b8d33ecd9a
feat(weex): WIP implement virtual component ( #7165 )
7 years ago
Evan You
70b97ac2f4
feat(weex): recycle-list support stateful child component
7 years ago
Evan You
452a65c98a
feat(weex): pass stateless component test case
7 years ago
Evan You
c1743a9dd7
test(weex): use done.fail for reporting errors
7 years ago
Hanks
46c8016562
test(weex): add more test cases for recycle-list ( #7104 )
7 years ago
Hanks
0bf0cbef76
revert(weex): remove the "receiveTasks" api and support component hook ( #7053 )
7 years ago
Hanks
0c11aa8add
feat(weex): generate "@render" function for weex recycle-list ( #6987 )
* feat($compiler): support to generate @render function for weex recycle-list
Compile the template twice with different options for weex platform if
the “recyclable” flag is passed. Generate both normal render function
and “@render” function for recycle-list.
Adjust function names and arguments in recycle-list compiler.
* test(weex): add test cases for <recycle-list>
7 years ago
Evan You
996eb00a0a
feat: auto cache inline prop literals to avoid child re-render
7 years ago
Alexander Sokolov
d02bb37efb
feat: warn misspelled keys on prop validation object ( #7198 )
7 years ago
Evan You
14f7015578
test: fix ssr test due to webpack asset emit order change
7 years ago
Evan You
4e00688e4a
build: update dev dependencies
7 years ago
Evan You
8936b8d9c1
fix(ssr): properly handle errors in async component
fix #6778
7 years ago
Evan You
86e4d7566e
test: add test case for #7223
7 years ago
laoxiong
023f171f58
fix(core): warn duplicate keys in all cases ( #7200 )
close #7199
7 years ago
Guillaume Chau
bd4819e6cf
fix: data() should be called with vm as first argument in mixins
fix #7191
7 years ago
Evan You
904d9c9a81
test: fix weex test case
7 years ago
Evan You
5875c7c490
fix: revert shared static tree cache to avoid memory leak
revert f0a66c5
fix #7184
7 years ago
Evan You
f5ce6b50cf
fix(v-for): support array and nested destructuring in v-for
7 years ago
Evan You
0f7c443dca
fix: block unnecessary input event on textarea placeholder in IE
close #7138
7 years ago
Evan You
8b43c81ed4
ci: bump transition unit test duration
7 years ago
Evan You
aa8262540a
fix: fix v-for iterator parsing destructuring + parens without index
7 years ago
Evan You
dd21eacc33
fix: fix async component resolving in sibling mounted hook
fix #7107
7 years ago
Evan You
604e081d04
fix: ensure functionalContext is cloned during slot clones
fix #7106
7 years ago
Evan You
3932a451a1
fix(keep-alive): should not destroy active instance when pruning cache
fix #7105
7 years ago
Evan You
ebcef58645
fix: fix v-for alias deconstruct regression
fix #7096
7 years ago
Evan You
a23b913796
fix: fix <keep-alive> include/exclude logic for anonymous components
7 years ago
Evan You
59dea37403
fix: fix v-model :value warning on custom component
fix #7084
7 years ago
Evan You
4d8226fb2c
fix: keep-alive should not cache anonymous components
This only happens if the component is returned by a intermediate
functional or abstract component, e.g. <router-view>. Fix #6938 .
7 years ago
Evan You
6d6b3739e1
fix: should warn unknown components inside <keep-alive>
7 years ago
Robert Pemberton
1e146037fa
feat: warn if both v-model and v-bind:value used on same element ( #7056 )
* test($compile): warn if v-model and :value used on same text input
#7048
* test($compile): make v-model and v-bind:value warning apply to all but exceptions
#7048
* test($compile): move v-model/:value conflict warner to model.js
#7048
* style: split long warning messages onto new lines
7 years ago
Evan You
5db86b4e94
fix(ssr): ensure hydrated class & style bindings are reactive
fix #7063
7 years ago
Evan You
6b799190a5
test: add test case for #6687 + fix lingering comment node
7 years ago
Evan You
13196b25b8
fix: clone slot nodes for render fn usage as well
fix #7041
7 years ago
Evan You
df82aeb0bf
fix: should warn unknown components during hydration
fix #6998
7 years ago
Evan You
daed1e7355
fix: normlaize @click.right and @click.middle
fix #7020
7 years ago
Evan You
9463ac8746
test: fix weex tests
7 years ago
Evan You
f0a66c5817
refactor: cache v-once and purely static trees separately
7 years ago
Evan You
5a9da95b8a
fix(slots): properly handle nested named slot passing
fix #6996
7 years ago
Evan You
e1657fd7ce
fix(ssr): properly render <select v-model> initial state
fix #6986
7 years ago
Evan You
79c0d7bcfb
fix(ssr): properly render textarea value
partial fix for #6986
7 years ago
laoxiong
58a39dfa0e
fix(model): correctly set select v-model initial value on patch ( #6910 )
7 years ago
Soo Jae Hwang
0c703e34d1
fix(v-model): v-if / v-else not working with :type + v-model ( #6955 )
fix #6918
7 years ago
Mads K
c24f3e4208
fix(events): properly $off array of events ( #6949 )
7 years ago
Evan You
f2e00f756f
fix: special case for static muted attribute in firefox
fix #6887
7 years ago
Hanks
232dd85f85
test(weex): support testing the virtual dom generated form *.vue files ( #6944 )
Compile the *.vue file into js code, then run it in Weex context, and
compare the generate virtual dom.
It’s a black-box testing for `weex-template-compiler`,
`weex-styler`,`weex-vue-framework` and `weex-js-runtime`.
7 years ago