Evan You
9d0bc9768b
fix sfc parser special tag check for nested templates ( fix #4289 )
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
0b78ea9696
properly handle inline function expressions in v-on
8 years ago
Evan You
71ce60da9a
support filters in v-bind
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
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
9a659593c4
adjust optimizer strategy and avoid marking simple elements as static root
8 years ago
Evan You
9931b715cd
avoid marking slot content as static.
8 years ago
Evan You
5d36e8bc1b
fix IE conditional comments ( fix #4125 )
8 years ago
Evan You
d0afcd3cf9
fix domProps unset for v-html ( fix #4107 )
8 years ago
Evan You
bc455352a3
test sfc parser <style module>
8 years ago
Evan You
e2a361a052
forgivingly handle < inside template plain text ( fix #4012 )
8 years ago
Chris Fritz
84918577d2
fix problematic use of 'deprecated' in warnings ( #4043 )
8 years ago
Evan You
7dc38dea27
fix SFC parsing pug templates that contains "<" ( fix #3973 )
8 years ago
peisong
9c91190b40
Fix typos. ( #3956 )
8 years ago
Evan You
3f8fa43819
fix duplicate attribute test case in IE
8 years ago
Evan You
1fa3844dc2
refactor directive update implementation
8 years ago
Evan You
74e4e11b44
fix v-on handler with whitespaces ( fix #3893 )
8 years ago
Chris Fritz
de199f9bbd
allow 2 root nodes with v-if and v-else ( #3887 )
* allow 2 root nodes with v-if and v-else
* fix compiler-options test with less specific text
8 years ago
Vincent Klaiber
463c9c9e08
Switch to https ( #3864 )
Replaced all http vuejs.org links with https instead.
8 years ago
Evan You
8ef603b7c3
test <template> key warning, fix coverage
8 years ago
Evan You
47ee6abfc6
remove codegen v-for truthiness check ( fix #3817 )
8 years ago
松鹤
575e810670
Optimization unit testing [vdom/patch/children] ( #3733 )
Optimization unit testing for vdom/patch/children.spec.js
8 years ago
Evan You
d6a7568891
improve v-bind implementation and make it work on components ( fix #3670 )
8 years ago
Evan You
1c4ca4bc08
fix lint
8 years ago
Evan You
7a2c986722
relax SSR hydration match check to allow client populating empty parent nodes
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
014d2f8599
fix vdom patch edge case for static nodes being reused and as insertion reference node ( fix #3533 )
8 years ago
Brandon Surowiec
0f8ad06b2c
Fix Spelling ( #3496 )
* Fix Spelling
* Fix other instances.
8 years ago
Evan You
d2df58e547
move v-show marker to runtime so that render functions work as expected ( fix #3488 )
8 years ago
Evan You
13ce3a2559
fix v-on chained keyCodes ( fix #3478 )
8 years ago
Evan You
18386c4cf4
fix static nodes optimization inside v-for ( fix #3406 )
8 years ago
Evan You
fe801b16e4
wip: fix $parent after children change
8 years ago
Evan You
b5b963f51d
wip: refactor children resolution (remove thunk mechanism)
8 years ago
Evan You
5ed0c16b68
better hydration fail warnings
8 years ago
Evan You
e1ab28c8c6
improve coverage
8 years ago
Evan You
7f429e9c91
discard vnode children if it has innerHTML or textContent as a prop ( fix #3360 )
8 years ago
Evan You
d7ae39044d
fix class updates if new vnode doesnt contain any class data
8 years ago
Evan You
35ee5b105e
remove staticAttrs
8 years ago
Chris Fritz
3e06c575cb
Allow 2 root nodes with v-if and v-else ( #3329 )
* allow 2 root nodes with v-if and v-else
* apply root constraints to 2nd root element with v-else
8 years ago