Commit Graph

333 Commits

Author SHA1 Message Date
Evan You 5ae63d9d2f warn v-for component lists without explicit keys 2017-01-24 16:04:14 -05:00
Evan You e7083d09f1 fix scoped slots with dynamic slot names + force update for child components with scoped slots (fix #4779) 2017-01-24 11:04:02 -05:00
Evan You 6cbee6b286 refactor: extract universal v-model codegen code and update weex v-model codegen 2017-01-23 12:06:17 -05:00
Evan You 90a455c95c fix replaced component root nodes losing parent scopeId (fix #4774) 2017-01-23 11:42:59 -05:00
Evan You 379695c912 complete coverage by testing v-model with extra listeners 2017-01-23 09:15:42 -05:00
Phan An b4115f71b2 Remove warnings about inline value attributes for v-model (closes #4733) (#4770) 2017-01-23 08:57:08 -05:00
Evan You 9d6c8ec268 feat: allow customization of component v-model prop/event via model option (close #4515) 2017-01-22 14:31:43 -05:00
Evan You 769c4dc203 ensure mutating extended constructor options does not affect parent (fix #4767) 2017-01-22 13:01:00 -05:00
chengchao 9e38abca3e Support select multiple binding (fix #4755) (#4756)
* support select multiple binding

* improve select onchange handle

* update  style
2017-01-19 13:36:19 -05:00
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
2017-01-19 10:41:32 -05:00
Evan You 55c87aa2c5 fix multi-select test case bug detection in IE9 2017-01-16 18:39:06 -05:00
Evan You fe6a26bb9c keep-alive: prune cache on include/exclude change, also avoid firing deactivate for already inactive components (fix #4633) 2017-01-13 18:54:35 -05:00
Evan You ee6ad6af0e fix v-on .once on multiple elements (fix #4655) 2017-01-13 12:14:23 -05:00
Evan You bb426258a1 skip multiple select tests on Android 4.4 by detecting its bug 2017-01-12 19:36:07 -05:00
chengchao 8be3aa4859 update test case (#4653) 2017-01-05 11:17:28 -05:00
chengchao da955d1a4f Use 'click' event for checkbox and radio (fix #4620) (#4639)
* listen to click event for checkbox and radio.

* add test cases
2017-01-04 14:43:52 -05:00
Evan You 2ee516dfc8 ensure updated hook is called after children are updated as well (fix #4599) 2016-12-29 16:19:44 -05:00
松鹤 610fe31592 add unit test for dynamic with props (#4570)
add unit test for dynamic component with props
2016-12-27 16:09:09 -05:00
Evan You 0cbc96101d add new transition to-state classes 2016-12-27 15:03:48 -05:00
Evan You 02e2d99e27 Revert "ensure leave transitions and enter transitions are triggered in the same frame (fix #4510)"
This reverts commit 92ad0bd378.
2016-12-27 14:11:45 -05:00
Evan You 0bb2d4e2b6 Revert "fix enter transition flicker regression (fix #4576)"
This reverts commit 89987e8e2c.
2016-12-27 14:11:40 -05:00
Evan You 89987e8e2c fix enter transition flicker regression (fix #4576) 2016-12-27 10:16:45 -05:00
Evan You 0eb8cdc7f7 support v-bind object on scoped slots (fix #4529) 2016-12-21 23:27:21 -05:00
chengchao bc140de48b improve looseequal test case (#4542) 2016-12-21 22:35:52 -05:00
Evan You 92ad0bd378 ensure leave transitions and enter transitions are triggered in the same frame (fix #4510) 2016-12-21 22:03:50 -05:00
chengchao 56bfa1d291 update loose equal, check toString value for primitive type (#4528) 2016-12-21 16:22:54 -05:00
chengchao be9210fc78 update dom prop for option.value (fix #4494) (#4505)
* update dom prop for option.value

* refactor value update logic
2016-12-21 16:19:04 -05:00
Evan You a977642fac unbind v-show if no longer present during patch (fix #4484) 2016-12-21 16:08:34 -05:00
Eduardo San Martin Morote 974247fd8e Add missing string handler in v-for (#4499)
Fix #4497
2016-12-16 11:50:53 -05:00
Evan You 7f260e1185 test case for lifecycle hook events 2016-12-14 12:27:38 -05:00
Evan You f1c38674f2 use simple normalization for components, fix functional component multi-root node (fix #4472) 2016-12-14 12:22:54 -05:00
Evan You 4cca50725a fix v-for on v-else branch regression (fix #4464) 2016-12-13 12:02:37 -05:00
Evan You 850fb9fbcb fix number update spec in ie9 2016-12-12 21:59:07 -05:00
Evan You 2afa2601e0 ensure local assets is prioritized regardless of naming convention (fix #4434) 2016-12-12 21:30:52 -05:00
chengchao 183bd43c3e fix v-bind.prop parse (fix #4432) (#4435)
* reset isProp value

* add test case

* update test case

* fix typo
2016-12-11 10:16:23 -05:00
Phan An 962b778e10 More informative warning message for comp name (#4429)
This commit adds a more informative warning message for invalid
component names. Also fixes a typo.
Closes #4428.
2016-12-09 12:51:13 -05:00
Evan You 612d32105a fix transition v-show display toggle timing for enter hooks (fix #4418) 2016-12-08 16:54:09 -05:00
Evan You b141c6930d fix filter parsing for divisions (fix #4415) 2016-12-08 13:15:33 -05:00
Evan You 8a7b02a159 avoid v-model with .trim/.number updating value when in focus (fix #4392) 2016-12-08 10:56:30 -05:00
Evan You 79e1058799 wip: refactor compiler to skip normalization when possible
wip fix

wip fix

wip fix
2016-12-05 02:36:40 +01:00
Evan You c4da6c7f9c fix select multiple warning test case in IE 2016-12-01 18:32:46 -05:00
Evan You 61f7d0db87 actually complete test case for #4339 2016-11-30 23:32:43 -05:00
Evan You db0bf76e51 fix keep-alive component inner transition (fix #4339) 2016-11-30 23:29:03 -05:00
chengchao dde0454e7e fix static style parse error. (#4349) 2016-11-30 13:53:20 -05:00
Evan You 66bacb015c make .once modifier work for component v-on as well 2016-11-30 12:31:56 -05:00
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
2016-11-30 12:16:10 -05:00
Changyu Geng 9215ff0295 Modifier once for v-on (#4267)
* Modifier once for v-on

* Reformat code

* Modifier once for v-on: using removeEventListener instead, bug fix of handler arguments passing, bug fix of modifier ordering problem

* Enhancement of event listener removal which allows rendering of capturing / once events for render function

* Reformat code
2016-11-30 12:15:18 -05:00
Evan You 326aef4a6a fix incorrect context for slot content created in functional components (fix #4315) 2016-11-25 12:41:42 -05:00
Evan You 16e3dae245 fix eslint and coverage 2016-11-24 12:59:19 -05:00
Evan You ae4db82c4b fix unexpected warnings in tests 2016-11-24 12:53:13 -05:00