Evan You
cfd73c2386
fix: handle encoded tabs and newlines in attributes for Chrome a[href] and IE/Edge
fix #6828 , fix #6916
7 years ago
Evan You
f3fe012d54
feat(v-model): support dynamic input type binding
7 years ago
Evan You
11614d63b7
feat(v-on): support v-on object syntax with no arguments
Note this does not support modifiers and is meant to be used for handling
events proxying in higher-order-components.
7 years ago
wenlu.wang
e4da249ab8
feat: add `comments` option to allow preserving comments in template ( #5951 )
close #5392
8 years ago
Evan You
55d8bfd6fd
support scopeId
8 years ago
Evan You
85e24b3b31
progress
8 years ago
Evan You
26953f5cac
add semis to flow decls for better syntax highlighting
8 years ago
Evan You
af12d3ff7f
progress
8 years ago
Hanks
29445153e3
[weex] Support unary and left open tags ( #5052 )
* [weex] Support unary and left open tags
* [weex] add test case for unary tag
* [compiler] move canBeLeftOpenTag to compiler option
8 years ago
Evan You
12870be9e0
expose component v-model expression on passed data
8 years ago
Evan You
f66028b9cd
introduce tip + make v-for component key warning a tip + refactor web compiler entry
8 years ago
Evan You
9d6c8ec268
feat: allow customization of component v-model prop/event via model option ( close #4515 )
8 years ago
Evan You
08bd81f8c0
fix #4530 with smaller change scope
8 years ago
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
9dce7adfa2
Streaming render for weex
fix append mode for keep-alive reactivation
streaming render for weex
fix weex test case
inject __WEEX__ during tests
fix append:tree for iOS
ignore weex branch
8 years ago
Evan You
1903df4991
rename ASTElement node.conditions -> node.ifConditions, avoid mutating it during codegen ( close #4317 )
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
7f36f99f6c
tests for scoped slots
8 years ago
Evan You
3575ff4a88
wip: codegen for scoped slots
8 years ago
Evan You
2dc2d062b1
adjust build
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
Evan You
9a742cb423
only treat binding as domProps on specific elements ( fix #4233 )
8 years ago
Evan You
ff551029bf
wip: fix flow type for weex merge
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
Victor Zakharenko
5a4c1d7f70
Add support attribute module ( #4091 )
* Add support attribute module
To be able to use css-module
* Extend type SFCBlock
module?: string | boolean
* package vue-template-compiler update
* Revert "package vue-template-compiler update"
This reverts commit 0104458d631115d1abf8d7a6a694a1d84b9b0fc5.
8 years ago
Evan You
ec824be88e
fix v-once inside v-for ( fix #3964 )
8 years ago
chengchao
0cd1489e68
.number modifier should work with select, radio, checkbox ( fix #4018 ) ( #4022 )
* support number modifier in select, radio, checkbox
* add test case
* add ASTModifier type to specify modifiers type
* fix typo
* keep code consistent
8 years ago
Evan You
03ea9f0b57
fix flow
8 years ago
Evan You
d6a7568891
improve v-bind implementation and make it work on components ( fix #3670 )
8 years ago
Evan You
45ff6218c1
handle multiline atribute value parsing in IE ( fix #3663 )
8 years ago
Evan You
982913fb1e
upgrade flow to 0.31 ( close #3482 )
8 years ago
Evan You
cdc0bc9cd4
improve keep-alive: use component-based API
8 years ago
Evan You
18386c4cf4
fix static nodes optimization inside v-for ( fix #3406 )
8 years ago
Evan You
35ee5b105e
remove staticAttrs
8 years ago
Evan You
04e2b53cd7
properly perserve whitespace in <pre> ( fix #3341 )
8 years ago
Evan You
ba5ec54cd8
include pre/post transform declarations
8 years ago
Evan You
e84a1a43be
fix attribute decode reggression ( fix #3327 )
8 years ago
Evan You
3ce450b6dc
use more proper flow type syntax
8 years ago
Evan You
ea9c6c37c3
support v-on .native modifier on components
8 years ago
Evan You
cf8aeddc12
fix v-once with v-for and remove unused _t method ( fix #3155 )
9 years ago
Evan You
2af9f68bd9
remove source-map generation from sfc parser
9 years ago
Evan You
e3fb6fe834
remove <render> tag
9 years ago
Evan You
d76bf8cac8
improve template error detector
9 years ago
Evan You
081d66adb2
keep preserveWhitespace as internal compiler option
9 years ago
Evan You
b0ad94fc87
properly encode HTML in server-side rendering ( fix #3078 )
9 years ago
Evan You
cec833a9e8
implement new v-for iterator syntax (ref: #3073 )
9 years ago
Evan You
34bcc02b77
remove preserveWhitespace config option
9 years ago
Evan You
a5cd31ab6d
coverage for sfc-parser
9 years ago
Evan You
f0a9e3d0f0
test padding and source map for sfc-parser
9 years ago