Evan You
cc4f4c5bda
v-elseif -> v-else-if
8 years ago
chengchao
af78bcf916
Support v-if multiple conditions ( #4271 )
* add if conditions
* update v-if conditional
* update test
* update test case
* add test case
* update if conditions
* update walkThroughConditionsBlocks
* update v-elseif
* update v-once with v-elseif test case
* update style with v-elseif
* update flow type
8 years ago
Evan You
a11ba69094
remove fdescribe
8 years ago
Evan You
e5d7f32cf6
tests for keep-alive include/exclude
8 years ago
Evan You
38b8cfdf96
handle regex with pipes in filter parser
8 years ago
Evan You
03043b9081
support .camel modifier
8 years ago
Evan You
0458e2edb2
adjustment: scoped slots must use <template>
8 years ago
Evan You
0b78ea9696
properly handle inline function expressions in v-on
8 years ago
Evan You
303378f85b
support default scoped slot + function children as scoped slot
8 years ago
Evan You
745f8a9125
add scoped slots render function usage test
8 years ago
Evan You
7f36f99f6c
tests for scoped slots
8 years ago
Evan You
71ce60da9a
support filters in v-bind
8 years ago
Evan You
30f890cf3c
support es6 template strings in filter parser
8 years ago
Evan You
2dc2d062b1
adjust build
8 years ago
Evan You
f242e119fa
fix nextTick Promise implementation for polyfills
8 years ago
Chris Fritz
8bf26536d3
Add promise support to nextTick ( #3967 )
* add promise support to nextTick
* remove test for non-existent nextTick console error
* Update flow annotation for callback
* Revert flow annotation for nextTick callback
8 years ago
chengchao
c1b84f87fb
fix markStaticRoots with v-else ( #4256 )
8 years ago
Evan You
c994146372
increase transition test duration buffer on saucelabs
8 years ago
Evan You
b60cd83466
keep-alive re-activated component should get updated props ( fix #4237 )
8 years ago
Evan You
acfe1ad4a2
warn using reserved attrs as prop ( close #4241 )
8 years ago
chengchao
8f7c49c9ba
Remove old static style when applying style update ( fix #4227 ) ( #4235 )
* both static style and stylebinding should be removed
* update test case
* update test case
8 years ago
Dexter Miguel
f80231773e
destroyed elements pass their styles onto others that are similar ( #4232 )
8 years ago
Evan You
eb92723df5
avoid merging text nodes when the node is a cloned slot node ( fix #4209 )
8 years ago
Evan You
438b51793f
fix style merging assertion in IE
8 years ago
Evan You
3e8ac270a8
fix .trim modifier when v-model is used on custom component ( fix #4204 )
8 years ago
chengchao
77497931e0
fix v-once inside v-for and v-once with v-if ( #4200 )
8 years ago
chengchao
46b3bcd707
fix object dot notation bug ( fix #4185 ) ( #4188 )
* fix object dot notation bug
* add test case
8 years ago
勾三股四
4f84aefe43
support v-model in weex ( #4178 )
* [wip] supported v-model in Weex
* fixed v-model in weex
* added test cases for v-model in weex
* used strToRegExp for all test cases in weex
* fixed eslint
* fixed parseModel test case
8 years ago
Evan You
1bcc571739
Revert "fix #4041 , warn overriding Vue's internal methods ( #4111 )"
This reverts commit 4078ce9c58
.
8 years ago
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
8 years ago
Evan You
c67a710b3c
avoid triggering watcher on unchanged default props ( fix #4090 ) (26 seconds ago)
8 years ago
jingsam
c23c5c5d70
keep consistency in dev and prod env ( #4093 )
* keep consistency in dev and prod env
* Update extend.js
* delete name=null
* fixup
* Update name.spec.js
8 years ago
(´・ω・`)
4078ce9c58
fix #4041 , warn overriding Vue's internal methods ( #4111 )
* fix #4041 , warn overriding Vue's internal methods
* prefer concise warning message
8 years ago
Evan You
ec824be88e
fix v-once inside v-for ( fix #3964 )
8 years ago
Evan You
09f9783943
fix global mixin + export constructor in vue-loader (fix vue-loader#433)
8 years ago
Evan You
cb1bb75b58
fix global mixin props ( fix #3957 )
8 years ago
Evan You
4b8eb75c7a
fix coverage
8 years ago
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
8 years ago
defcc
3105661662
v-model binding with array. (fix #3958,#3979) ( #3988 )
* fix v-model with array binding
* add mutli selects test case
* add test case. v-bind with array
* add comments
* code refactor
8 years ago
defcc
a9417e4e4f
select change event fix ( #3922 )
* if select binding not changed, then needRest should be set to false, and no change event should be emitted
* update code style
8 years ago
Evan You
864ef21a7d
fix deeply nested keep-alive components not being destroyed ( fix #3882 )
8 years ago
Evan You
7570a3c566
test for directive refactor ( fix #3848 )
8 years ago
Evan You
e9bf5d1cd9
add warning for using v-model on v-for alias
8 years ago
Evan You
32383e5fa3
remove name option warning during instantiation
8 years ago
Evan You
1bb7cba0e0
improve event warning with component information ( close #3831 )
8 years ago
defcc
8bb1e58df0
fix multiple select render ( #3908 )
* fix multiple select render. The mutliple attribute of select dosen't apply at first, so the mutli selected option dosen't work when patching
* keep the vnode.data the same as before
8 years ago
Evan You
cc4c066989
fix coverage
8 years ago
Evan You
be6e050b89
fix `mounted` not called for manually mounted instance with parent ( fix #3898 )
8 years ago
Evan You
3446d1485d
support functional components as named slot ( fix #3872 )
8 years ago
Evan You
f35f7e35cd
add v-model dynamic type warning
8 years ago