Evan You
26953f5cac
add semis to flow decls for better syntax highlighting
8 years ago
Evan You
af12d3ff7f
progress
8 years ago
Evan You
0ccefff794
support v-for on scoped slots ( fix #5615 )
8 years ago
Herrington Darkholme
bb7c543fc2
fix #5539 : improve `isDef` type definition ( #5549 )
* fix #5539 : improve flow type coverage
* skip unnecessary object creation
* use flow internal syntax to enable predicate type
8 years ago
Evan You
94d5e332d1
use lodash.template for ssr templates by default
8 years ago
Evan You
a7965292f4
comments for flow type nodes
8 years ago
Evan You
1073035164
fix activate hook call timing (fix vue-router#1212)
8 years ago
Evan You
a12d32a56d
fix style diffing on cached/slot elements ( fix #5318 )
8 years ago
Evan You
fae6b87786
refactor: pull in vue-ssr-html-stream and refactor into generic template renderer
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
kazuya kawaguchi
0922b1d8aa
improve set/delete API ( #5050 )
8 years ago
Bojan
1b38a261c5
support multi event ( #5056 )
8 years ago
Evan You
3b7b597044
cover Symbol for provide/inject typing
8 years ago
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