Evan You
ab0a2259e0
Revert "also bind static special attrs as props ( fix #4530 )"
This reverts commit b3ebfef91d
.
8 years ago
Evan You
01f533db1a
avoid duplicate whitespace nodes caused by comments
8 years ago
Evan You
de220a635d
ignore text nodes between v-if conditions ( fix #4533 )
8 years ago
Evan You
b3ebfef91d
also bind static special attrs as props ( fix #4530 )
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
Evan You
5d36e8bc1b
fix IE conditional comments ( fix #4125 )
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
3f8fa43819
fix duplicate attribute test case in IE
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
Evan You
8ef603b7c3
test <template> key warning, fix coverage
8 years ago
Brandon Surowiec
0f8ad06b2c
Fix Spelling ( #3496 )
* Fix Spelling
* Fix other instances.
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
Evan You
04e2b53cd7
properly perserve whitespace in <pre> ( fix #3341 )
8 years ago
Evan You
bee95f8c08
Revert "remove parser pre/post transforms (not used)"
This reverts commit 2e7a792308
.
8 years ago
Evan You
2e7a792308
remove parser pre/post transforms (not used)
8 years ago
Evan You
39bcd60a33
remove no longer necessary specs
8 years ago
Evan You
579ff4ddbc
fix nested svg namespaces
9 years ago
Evan You
feee9ef6f6
remove camelCase tag warning
9 years ago
Evan You
e3fb6fe834
remove <render> tag
9 years ago
Evan You
cec833a9e8
implement new v-for iterator syntax (ref: #3073 )
9 years ago
Evan You
3edfc4518d
support postTransform as well
9 years ago
Evan You
3ddef0c53c
add preTransform option for compiler modules
9 years ago
Evan You
8924e91abc
v-pre nodes should use staticAttrs
9 years ago
Evan You
e236f80fa0
parser for single-file components
9 years ago
Evan You
93501f2002
transition refactoring
9 years ago
Evan You
48a0d29e35
rename track-by -> key
9 years ago
Evan You
0a15d9ee27
add root element warnings
9 years ago
Evan You
82c76175ec
use extend instead of Object.assign() since the latter is not avaialble in phantomjs
9 years ago
Evan You
f5297358af
fix linting problems
9 years ago
Evan You
600ebfbaa4
simplify compiler tests
9 years ago
Evan You
6fe268874c
improve codegen for smaller generated code size
9 years ago
Jinjiang
1d45c4b9e9
extract style/class/transition as web platform compiler modules ( #2885 )
* extract style/class/transition as web platform compiler modules
* fixed genData bug
* made module.staticKeys optional in compiler
* changed module.genData just return additional data in compiler
* cached genStaticKeys in compiler optimizer
9 years ago
Evan You
eaddbe5739
update track-by usage in test
9 years ago
kazuya kawaguchi
b8ffc659e9
add parser tests ( #2878 )
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