chengchao
dde0454e7e
fix static style parse error. ( #4349 )
8 years ago
Evan You
66bacb015c
make .once modifier work for component v-on as well
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
Changyu Geng
9215ff0295
Modifier once for v-on ( #4267 )
* Modifier once for v-on
* Reformat code
* Modifier once for v-on: using removeEventListener instead, bug fix of handler arguments passing, bug fix of modifier ordering problem
* Enhancement of event listener removal which allows rendering of capturing / once events for render function
* Reformat code
8 years ago
Evan You
326aef4a6a
fix incorrect context for slot content created in functional components ( fix #4315 )
8 years ago
Evan You
16e3dae245
fix eslint and coverage
8 years ago
Evan You
ae4db82c4b
fix unexpected warnings in tests
8 years ago
Evan You
a52a094bef
wip: adjust update error reporting
8 years ago
Evan You
3cfd84346f
fix style !important spec
8 years ago
Evan You
26b6374c3c
test for static style !important support
8 years ago
Evan You
6034c3e699
ensure methods are available in data() ( close #4302 )
8 years ago
Evan You
b2b9d1c272
fix property reference proxy check for hand-written render functions
8 years ago
Evan You
fa61c0042c
fix proxy missing property detection when render function does not use `with`
8 years ago
Evan You
1a7b910feb
inherit child reference from old node when patching static nodes ( fix #4288 )
8 years ago
katashin
c57ba3e622
global mixin should not drop scope id ( fix #4266 ) ( #4274 )
8 years ago
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