Evan You
4b51ad0483
rename _h -> _c so that vue-template-es2015-compiler can use the new internal createElement without breaking backwards compatibility
8 years ago
Evan You
207c18c47f
further reduce normalizeChildren usage
8 years ago
Evan You
79e1058799
wip: refactor compiler to skip normalization when possible
wip fix
wip fix
wip fix
8 years ago
Evan You
e8d6bd9dc7
allow modifier key modifiers on keyboard events and warn overwriting in config.keyCodes
8 years ago
chengchao
6ea9a4db42
Support mutliple keys for keycode ( #4328 )
* support mutliple keys for keycode
* update flow type
* add test case
* update comment
* update flow type
* update comment
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
Evan You
7b389bc34e
avoid warning unknown custom elements in v-pre
8 years ago
Evan You
aa5f5d1198
ensure $scopedSlots is always an object ( close #4301 )
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
303378f85b
support default scoped slot + function children as scoped slot
8 years ago
Evan You
7f36f99f6c
tests for scoped slots
8 years ago
Evan You
9ddbbcc340
wip: scoped slot implementation
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
cb4854a50e
[weex] enable extended constructors to use mixins
8 years ago
Evan You
ff551029bf
wip: fix flow type for weex merge
8 years ago
Evan You
b69b4a4eef
tweak style merge for performance
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
Herrington Darkholme
2ac581bb7f
SSR: eliminate closure in render.js implementation
eliminate closure
fix multiple render instances and memory leakage
fix eslint
magically fix flow typing
add multiple render stream test
8 years ago
Evan You
d362d64633
update entities encoding/decoding ( fix #3899 )
8 years ago
Evan You
03ea9f0b57
fix flow
8 years ago
Evan You
1fa3844dc2
refactor directive update implementation
8 years ago
Evan You
99ea0f8229
adjust named slot resolve check ( fix #3819 )
8 years ago
松鹤
313ad8f87b
fix flow lifecycle method name [Vue@2.x] ( #3762 )
fix lifecycle method name `init` to `beforeCreate`
8 years ago
Evan You
56960b5fbc
support object looseEqual in v-model ( fix #3673 )
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
4afccc8eec
proper slot duplication warning ( fix #3595 )
8 years ago
Evan You
982913fb1e
upgrade flow to 0.31 ( close #3482 )
8 years ago
Evan You
4d640ce4d9
tweak v-if to avoid unnecessary node replacement
8 years ago
Evan You
ed2085974b
ensure mergeVNodeHook does not inject duplicate hooks
8 years ago
Evan You
d2df58e547
move v-show marker to runtime so that render functions work as expected ( fix #3488 )
8 years ago
Evan You
ba5fb31188
fix transition insert hook duplicate invocation on slot nodes ( fix #3474 )
8 years ago
Evan You
1e74675053
expose Vue.set/delete on instances as vm.$set/$delete
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
fe801b16e4
wip: fix $parent after children change
8 years ago
Evan You
b5b963f51d
wip: refactor children resolution (remove thunk mechanism)
8 years ago
Evan You
c66b7566c6
fix flow
8 years ago
Evan You
59b2a0eeb3
support class/style in v-bind object
8 years ago
Evan You
40b93e6527
avoid unnecessary enter transitions on nested inserted elements
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