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
e0ab042295
add focused test eslint rules for tests
8 years ago
Evan You
326aef4a6a
fix incorrect context for slot content created in functional components ( fix #4315 )
8 years ago
Evan You
1903df4991
rename ASTElement node.conditions -> node.ifConditions, avoid mutating it during codegen ( close #4317 )
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
b7946a4b22
wip: fix tests with expected warnings
8 years ago
Evan You
00c137fb27
test: check unexpected warnings
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
(´・ω・`)
fce3f04a44
Ensure Vue instance's vnode and element is up to date ( #4299 )
* fix #4284 , recursively update vnode element
* fix #4284 , ensure vm's vnode is up to date
* add test for edge case
8 years ago
Evan You
9d0bc9768b
fix sfc parser special tag check for nested templates ( fix #4289 )
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
b45b974a5c
limit mouse event modifiers to mouse events
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
a0d8603f90
support destructuring in v-for alias
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
Evan You
6c7bc69328
sfc parser: treat all custom blocks as special tags
8 years ago
Eduardo San Martin Morote
ff7f231002
Support custom blocks in SFC parser ( #4157 )
This allow to use other block appart from `template`, `script` or
`style` in the SFC parser. This allows such things as writing tests or
examples directly into the SFC file. Those are meant to be handled by
programs others than vue-loader like vue-play.
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
Changyu Geng
048014ac0d
Modifiers key modifier for directive on of Vue.js 2.0 ( #4034 )
* Modifiers key modifier for directive on
* meta modifier key modifier for directive on
* Code format
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
Evan You
c1bf20acb6
do not trigger change on NaN->NaN set ( fix #4236 )
8 years ago
Evan You
9a742cb423
only treat binding as domProps on specific elements ( fix #4233 )
8 years ago
Evan You
f4df893828
fix weex tests for optimizer adjustments
8 years ago
Evan You
9a659593c4
adjust optimizer strategy and avoid marking simple elements as static root
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