Evan You
4e830ba3c3
Revert "Mark node with static props as static ( #4662 )"
This reverts commit 92657249dd
.
8 years ago
chengchao
92657249dd
Mark node with static props as static ( #4662 )
* fix special static attrs as dom prop
* refactor
8 years ago
Evan You
1903df4991
rename ASTElement node.conditions -> node.ifConditions, avoid mutating it during codegen ( close #4317 )
8 years ago
Evan You
b7946a4b22
wip: fix tests with expected warnings
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
chengchao
c1b84f87fb
fix markStaticRoots with v-else ( #4256 )
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
18386c4cf4
fix static nodes optimization inside v-for ( fix #3406 )
8 years ago
Evan You
c949c74986
change ref to a built-in attribute
9 years ago
Evan You
e236f80fa0
parser for single-file components
9 years ago
Evan You
f5297358af
fix linting problems
9 years ago
Evan You
600ebfbaa4
simplify compiler tests
9 years ago
kazuya kawaguchi
6daba53750
add optimizer tests ( #2882 )
ref: #2872
9 years ago
Evan You
2021b1f36f
layout unit test files
9 years ago
Evan You
2f0222b41c
layout test files
9 years ago
Evan You
26b776fa81
add placeholders for unit tests
9 years ago