Evan You
29f6902d19
coverage
8 years ago
Evan You
f916bcf371
feat: provide/inject ( close #4029 )
8 years ago
Evan You
1861ee9570
feat: renderError
8 years ago
Evan You
3c0cdb5535
improve error handling for lifecycle hooks
8 years ago
Chris Casola
3dc9338479
Warn when defining a method with same name as a prop ( #4950 )
* Warn when defining a method with same name as a prop
* update error message
8 years ago
Evan You
9ccffe72db
invoke activate/deactivate recursively + refactor ( close #4242 )
8 years ago
kingwl
0e2dafa74c
support mouse event modifier ( #4866 )
8 years ago
kingwl
8bb6c2bdaa
support $on multi event ( #4860 )
8 years ago
Guillaume Chau
0598ab0c64
#4371 - Explicit transition durations ( #4857 )
* Add transition explicit duration
* Fix tests for explicit transition duration
* Tweaks & default to milliseconds
* Better tests
* Better test for change value case
* Fix transition duration tests
* Better flow typing
* Fix transition test
* Revert "Fix transition test"
This reverts commit db75b3801ed11182119c78ebae87f40a62803714.
* Fix transition test
Revert "Fix transition test"
This reverts commit db75b3801ed11182119c78ebae87f40a62803714.
Fix transition test
* Better flow types
* Warn message
* Better prop handling
* Better flow typings
* adjustments
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
05c769bf44
fix .once with other modifiers that prevent execution of a handler ( fix #4846 )
8 years ago
Evan You
f59aef08e6
further improve end tag check ( close #4408 )
8 years ago
Zephraph
97d36bc23f
Pass attributes to parseComponent (addresses #4914 ) ( #4925 )
* Pass attributes to parseComponent
* Edited source in the right place, added test
* Back out changes made to the generated compiler build file
* Add a few more checks
8 years ago
Herrington Darkholme
01151ce3fa
fix #4872 , use context agnostic Function constructor check ( #4928 )
* fix #4872 , use context agnostic Function constructor check
* use getType to check Function Constructor
* fix negation
8 years ago
Riccardo Causo
7259aefbe8
filter division expression with parentheses ( fix #4838 ) ( #4844 )
* filter division expression with parentheses (fix #4838 )
* verify also dot and square brackets
* missed a link check sorry for the useless commit
* added + - and _ support
8 years ago
Evan You
406352baba
move computed properties definition to component prototype when possible
8 years ago
Evan You
4f6b1014b3
improve $props test case
8 years ago
yantene
22f9560c92
add $props
8 years ago
Evan You
af619151c6
improve other parser warnings
8 years ago
Evan You
cfb4d7c655
improve parser warning for tags with no matching close tag
8 years ago
Evan You
a0a619f611
fix sfc parser hanging on trailing ill-formatted brackets (fix vue-loader/#628)
8 years ago
Eduardo San Martin Morote
ec7fca8495
Fix multiple attr in select with undefined value ( #4859 )
Fix #4855
8 years ago
p(^-^q)
8bf5af8edf
fix `addClass` utlil bug ( #4863 )
* fix addClass util bug
`<transition-group move-class=“ value with leading or trailing whitespace ” />`
* fix addClass util bug
`<transition-group move-class=“ value with leading or trailing whitespace ” />`
* fix addClass util bug
`<transition-group move-class=“ value with leading or trailing whitespace ” />`
* update test case for `addClass / removeClass` util
8 years ago
Evan You
5ae63d9d2f
warn v-for component lists without explicit keys
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
6cbee6b286
refactor: extract universal v-model codegen code and update weex v-model codegen
8 years ago
Evan You
90a455c95c
fix replaced component root nodes losing parent scopeId ( fix #4774 )
8 years ago
Evan You
379695c912
complete coverage by testing v-model with extra listeners
8 years ago
Phan An
b4115f71b2
Remove warnings about inline value attributes for v-model ( closes #4733 ) ( #4770 )
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
769c4dc203
ensure mutating extended constructor options does not affect parent ( fix #4767 )
8 years ago
chengchao
e02fb1294d
preserve the only whitespace child ( #4760 )
8 years ago
dhcmrlchtdj
938fa4efcc
fix(sfc): component contains '<' only ( #4753 )
* fix(sfc): component contains '<' only
* update based on reviews
8 years ago
chengchao
9e38abca3e
Support select multiple binding ( fix #4755 ) ( #4756 )
* support select multiple binding
* improve select onchange handle
* update style
8 years ago
Hanks
466e849c85
Be able to delete array item in `Vue.delete` ( #4747 )
* Support to delete array item in Vue.delete
* add test case for Vue.delete array
* add blank line between test cases
8 years ago
Evan You
55c87aa2c5
fix multi-select test case bug detection in IE9
8 years ago
Evan You
c660917b29
improve event update algorithm (thanks to suggestions from @defcc )
8 years ago
Evan You
fe6a26bb9c
keep-alive: prune cache on include/exclude change, also avoid firing deactivate for already inactive components ( fix #4633 )
8 years ago
Evan You
ee6ad6af0e
fix v-on .once on multiple elements ( fix #4655 )
8 years ago
Evan You
1a1952ba81
handle single -> array & array -> single event handler patching ( fix #4650 )
8 years ago
Evan You
08bd81f8c0
fix #4530 with smaller change scope
8 years ago
Evan You
ab0a2259e0
Revert "also bind static special attrs as props ( fix #4530 )"
This reverts commit b3ebfef91d
.
8 years ago
Evan You
4e830ba3c3
Revert "Mark node with static props as static ( #4662 )"
This reverts commit 92657249dd
.
8 years ago
Evan You
bb426258a1
skip multiple select tests on Android 4.4 by detecting its bug
8 years ago
chengchao
92657249dd
Mark node with static props as static ( #4662 )
* fix special static attrs as dom prop
* refactor
8 years ago
chengchao
8be3aa4859
update test case ( #4653 )
8 years ago
chengchao
da955d1a4f
Use 'click' event for checkbox and radio ( fix #4620 ) ( #4639 )
* listen to click event for checkbox and radio.
* add test cases
8 years ago
Evan You
2ee516dfc8
ensure updated hook is called after children are updated as well ( fix #4599 )
8 years ago
Evan You
6b1755ae8c
adjust hydration strategy ( fix #4560 )
8 years ago
松鹤
610fe31592
add unit test for dynamic with props ( #4570 )
add unit test for dynamic component with props
8 years ago