kingwl
213f136a6e
fix slot resolved incorrect with abstract component ( fix #5888 ) ( #5895 )
8 years ago
gebilaoxiong
2f628c3114
test:improve reserved props test
8 years ago
gebilaoxiong
f197d0dc45
test:add bind object test
8 years ago
王斐
8a2c5147ad
Be able to use string type index in array ( #5889 )
8 years ago
JK
080c387d49
Merge inject when extending a component ( #5827 )
* simply fix inject extends
* add comments for normalizeInject
* normalizeInect should return for non-array
* remove isArray branch in resolveInject
* add test case for extending injection
* Create options.js
* type of inject should be object now
* Revert "type of inject should be object now"
This reverts commit 8466a2866b868de00f755b80e5b3a3dc8bdc2d86.
8 years ago
Luke Bennett
9831b403cf
Add warnHandler to allow users to set a custom warn callback, similar to errorHandler ( #5883 )
8 years ago
Evan You
a18f879bb3
warn when methods conflict with data ( close #5832 )
8 years ago
Evan You
7b069453ed
fix Object.prototype.watch test case
8 years ago
strantr
48c0c1ceb5
Added check in merge strat for watches if child is already an array ( fix #5652 ) ( #5653 )
* Added check for if child is already an array
If the child is already an array it does not need to be wrapped again.
Fixing #5652
* Added unit test for watch merge strat
* Moved test to own describe
* Added test for merging multiple extends
8 years ago
Zhang Visper
7561b94eeb
warn against non-primitive key ( #5816 )
8 years ago
Evan You
13bb643d6f
handle in-out transition with async components
8 years ago
Evan You
c3cdfcfa68
fix out-in transition for async components ( fix #5760 )
8 years ago
Evan You
b4dd0be4fc
improve .use() test cases and make it track installation based on constructor id
8 years ago
Chris Nicola
11b7d5dff2
Add handleError during event handling ( #5709 )
* Add handleError during event handling
Currently handleError is used to handle errors during lifecycle hooks.
This commit adds this functionality in to the event handling for
consistency.
* style tweak
8 years ago
Maciej Kasprzyk
b182ac4069
Warn when a inject has been not provided ( #5681 )
* warn when a inject has been not provided
* typo
* typo
* fix when undefined is provided
* use util hasOwn
* refactor
* test case
* Revert "test case"
This reverts commit 08f0a8b6c3837fc34ddd264712b8c30a05c165e5.
* test case
8 years ago
Evan You
b5e4a22a8d
refined async hydration + tests
8 years ago
Evan You
7404091896
support async hydration
8 years ago
Evan You
303780acd2
make function compilation reusable
8 years ago
Evan You
af12d3ff7f
progress
8 years ago
Evan You
7694c85564
fix static tree optimization for v-else(-if) conditions
8 years ago
Maciej Kasprzyk
d6bd667e1a
Warn when component option should be an object, but is not ( #5605 ) ( #5642 )
* warn when component should be an object, but is not
* remarks
* remarks
* remarks
* rename to checkOptionType and guard production
* typo
* Update state.js
* Update test-object-option.js
8 years ago
AchillesJ
e3ffa109b3
make vm.$watch api consistent with watch option ( #5645 )
8 years ago
chengchao
aaad7334d9
improve scoped slot test case ( #5640 )
8 years ago
Evan You
e70f191b56
no need to test composition events on Android
8 years ago
Evan You
38759a6957
fix test case in IE
8 years ago
Evan You
8d54aecdd0
async components: timeout should not trigger if already resolved ( fix #5635 )
8 years ago
Evan You
0ccefff794
support v-for on scoped slots ( fix #5615 )
8 years ago
laoxiong
f2bd882073
Fix: nested child elements can not be updated correctly, fix #5618 ( #5627 )
* fix:nested elements can not be updated correctly
* add tests
* ensure nestedIndex is always passed down
8 years ago
Eduardo San Martin Morote
d52a4991bd
Prevent unecessary input trigger with v-model ( #5589 )
* Prevent unecessary input trigger with v-model
Fix #5586
* Add test for compositionend on v-model + @input
* [skip ci] Rename tests for compositionend
8 years ago
laoxiong
3b426efe60
Fix when functional component render method retrun null ( fix #5536 ) ( #5539 )
* fix:create empty vnode when functional component return null
* add test
* use isDef
8 years ago
Evan You
d8315c42ef
do not decode text inside script/style tags ( fix #5526 )
8 years ago
Evan You
cb0531c4fb
increase async delay for more test cases
8 years ago
Evan You
c24f492543
fix edge test case
8 years ago
Evan You
1096890827
increase async component test delay
8 years ago
Yusuke Otsuka
12b7122c16
fix mixin issue ( #5514 )
8 years ago
Eduardo San Martin Morote
380e988823
Allow slot names to be numbers ( #5481 )
Closes #5480
8 years ago
Evan You
7b8b0e48f7
restructure: remove entires directory
8 years ago
Evan You
c0da43d22f
fix incorrect compiler warning for $delete usage in templates ( fix #5464 )
8 years ago
宋铄运
38810d8fd0
Support auto-prefixed style value as array (client/ssr) ( #5460 )
* support auto-prefixed style value as array (client/ssr)
* adjust test case
8 years ago
katashin
086ae4469b
allow an extended constructor as global mixin ( #5448 )
8 years ago
Evan You
760a74480e
test warning component trace
8 years ago
Evan You
682141fccc
support Symbol in props type validation ( close #5396 )
8 years ago
Evan You
4b6913cb46
handle errors in nextTick ( close #5277 )
8 years ago
Eduardo San Martin Morote
b997af0c01
Use genAssignmentCode in chehckbox model web compiler ( #5402 )
Fix #5398
8 years ago
Evan You
c82546c54b
fix keep-alive pruning active instance
8 years ago
Evan You
561bb467ba
test functional auto props with render fn
8 years ago
Evan You
931aaea8dc
expand .sync into extra listener
8 years ago
Evan You
c28b566f19
tests for functional component api improvements
8 years ago
Evan You
d2b7142cf5
tests for advanced async component features
8 years ago
Evan You
841fe6028a
test computed property conflict warnings
8 years ago