Commit Graph

48 Commits

Author SHA1 Message Date
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
Evan You
36a32e4466 tweaks based on #2885 2016-05-16 21:29:50 -04:00
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
2016-05-16 21:02:13 -04:00
Evan You
3573ffff1f refine ast nodes with disjoint union type 2016-05-16 15:28:10 -04:00
Evan You
df259d00f4 tweak annotations 2016-05-14 19:20:12 -04:00
Evan You
750bec1024 annotate platforms/web 2016-05-14 07:40:56 -04:00
Evan You
a74f53b0b8 annotate compiler 2016-05-14 06:20:54 -04:00
Evan You
b17ea5cc36 annotate codegen 2016-05-14 05:54:52 -04:00
Evan You
68e8c39db9 annotate parser 2016-05-14 05:08:54 -04:00