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
2017-03-15 09:56:25 +08:00
Evan You
12870be9e0
expose component v-model expression on passed data
2017-03-08 15:39:47 +08:00
Evan You
f66028b9cd
introduce tip + make v-for component key warning a tip + refactor web compiler entry
2017-02-24 16:59:41 -05:00
Evan You
9d6c8ec268
feat: allow customization of component v-model prop/event via model option ( close #4515 )
2017-01-22 14:31:43 -05:00
Evan You
08bd81f8c0
fix #4530 with smaller change scope
2017-01-12 21:41:23 -05:00
Evan You
4e830ba3c3
Revert "Mark node with static props as static ( #4662 )"
...
This reverts commit 92657249dd
.
2017-01-12 20:57:30 -05:00
chengchao
92657249dd
Mark node with static props as static ( #4662 )
...
* fix special static attrs as dom prop
* refactor
2017-01-10 17:38:32 -05:00
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
2016-11-26 16:04:47 -05:00
Evan You
1903df4991
rename ASTElement node.conditions -> node.ifConditions, avoid mutating it during codegen ( close #4317 )
2016-11-25 10:06:21 -05:00
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
2016-11-21 15:24:54 -05:00
Evan You
7f36f99f6c
tests for scoped slots
2016-11-20 12:03:43 -05:00
Evan You
3575ff4a88
wip: codegen for scoped slots
2016-11-20 12:03:43 -05:00
Evan You
2dc2d062b1
adjust build
2016-11-20 12:03:43 -05:00
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.
2016-11-20 11:37:42 -05:00
Evan You
9a742cb423
only treat binding as domProps on specific elements ( fix #4233 )
2016-11-18 11:36:05 -05:00
Evan You
ff551029bf
wip: fix flow type for weex merge
2016-11-07 16:26:06 -05:00
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
2016-11-07 16:19:48 -05:00
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.
2016-11-03 10:53:43 -04:00
Evan You
ec824be88e
fix v-once inside v-for ( fix #3964 )
2016-11-02 22:34:36 -04:00
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
2016-11-01 11:50:22 -04:00
Evan You
03ea9f0b57
fix flow
2016-10-11 20:50:28 -04:00
Evan You
d6a7568891
improve v-bind implementation and make it work on components ( fix #3670 )
2016-09-14 10:14:45 -04:00
Evan You
45ff6218c1
handle multiline atribute value parsing in IE ( fix #3663 )
2016-09-13 08:43:25 -04:00
Evan You
982913fb1e
upgrade flow to 0.31 ( close #3482 )
2016-08-28 11:33:39 -04:00
Evan You
cdc0bc9cd4
improve keep-alive: use component-based API
2016-08-09 16:32:15 -04:00
Evan You
18386c4cf4
fix static nodes optimization inside v-for ( fix #3406 )
2016-08-08 19:03:00 -04:00
Evan You
35ee5b105e
remove staticAttrs
2016-07-29 10:45:43 -04:00
Evan You
04e2b53cd7
properly perserve whitespace in <pre> ( fix #3341 )
2016-07-28 18:50:05 -04:00
Evan You
ba5ec54cd8
include pre/post transform declarations
2016-07-26 22:36:02 -04:00
Evan You
e84a1a43be
fix attribute decode reggression ( fix #3327 )
2016-07-26 14:38:46 -04:00
Evan You
3ce450b6dc
use more proper flow type syntax
2016-07-25 21:28:46 -04:00
Evan You
ea9c6c37c3
support v-on .native modifier on components
2016-07-19 18:56:10 -04:00
Evan You
cf8aeddc12
fix v-once with v-for and remove unused _t method ( fix #3155 )
2016-06-27 11:18:06 -04:00
Evan You
2af9f68bd9
remove source-map generation from sfc parser
2016-06-21 02:17:11 -04:00
Evan You
e3fb6fe834
remove <render> tag
2016-06-17 13:25:34 -04:00
Evan You
d76bf8cac8
improve template error detector
2016-06-15 11:31:43 -04:00
Evan You
081d66adb2
keep preserveWhitespace as internal compiler option
2016-06-15 10:30:32 -04:00
Evan You
b0ad94fc87
properly encode HTML in server-side rendering ( fix #3078 )
2016-06-14 14:15:41 -04:00
Evan You
cec833a9e8
implement new v-for iterator syntax (ref: #3073 )
2016-06-13 14:55:53 -04:00
Evan You
34bcc02b77
remove preserveWhitespace config option
2016-06-10 18:14:58 -04:00
Evan You
a5cd31ab6d
coverage for sfc-parser
2016-06-10 16:57:42 -04:00
Evan You
f0a9e3d0f0
test padding and source map for sfc-parser
2016-06-10 16:54:58 -04:00
Evan You
b0b9691efe
add pad/map option to sfc parser
2016-06-10 13:19:04 -04:00
Evan You
e236f80fa0
parser for single-file components
2016-06-07 21:36:00 -04:00
Evan You
b6fb485243
rename compiler module export names
2016-06-07 18:33:34 -04:00
Evan You
b02b1e5ba4
better template compilation error warnings
2016-06-06 14:15:21 -04:00
Evan You
7a3261115f
transition-mode
2016-06-03 19:32:45 -04:00
Evan You
060fab9ec1
make ref a runtime module
2016-06-01 19:52:42 -04:00
Evan You
ff9c6b09bb
fix svg parsing in IE
2016-05-31 22:41:56 -04:00
Evan You
2a64b8a356
tests for v-model select
2016-05-26 23:51:34 -04:00