Evan You
e7a2510e63
Revert "[WIP] Support for ref callback ( #4807 )"
This reverts commit acec8db2c4
.
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
4cf49828c0
properly handle cosntructor options modification before global mixin application ( fix #4976 )
8 years ago
Evan You
73c5614740
update types for new features
8 years ago
Evan You
689c107de4
feat: config.performance
8 years ago
Evan You
1861ee9570
feat: renderError
8 years ago
Evan You
9ccffe72db
invoke activate/deactivate recursively + refactor ( close #4242 )
8 years ago
kingwl
8bb6c2bdaa
support $on multi event ( #4860 )
8 years ago
Rahul Kadyan
acec8db2c4
[WIP] Support for ref callback ( #4807 )
* ✨ Tests for ref callback
* ✨ Support for ref callback
* Add test of inline ref callback
* adjust ref implementation strategy
* fix patch ref registration
* fix tests
* fix flow
* fix test for phantomjs
8 years ago
Evan You
406352baba
move computed properties definition to component prototype when possible
8 years ago
Evan You
87ffd0da9f
tweaks
8 years ago
yantene
22f9560c92
add $props
8 years ago
Evan You
1c79592524
feat: implement template option for vue-server-renderer
8 years ago
Evan You
e71d70dcb3
tweak build + upgrade flow
8 years ago
Evan You
068095579b
support source map in bundle renderer
8 years ago
Evan You
e7083d09f1
fix scoped slots with dynamic slot names + force update for child components with scoped slots ( fix #4779 )
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
Evan You
30258a9a60
rename vnode.child -> vnode.componentInstance
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
dacd0cf582
createElement flow type correction
8 years ago
Evan You
7ffa77f3df
optimize instance hook event lookup
8 years ago
Evan You
7c9e81e772
optimize initEvents
8 years ago
Marshall Shen
6cfd6c7fe9
change any to mixed to make it more type-safe ( #4458 )
8 years ago
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