Commit Graph

508 Commits

Author SHA1 Message Date
Evan You de220a635d ignore text nodes between v-if conditions (fix #4533) 2016-12-22 23:40:10 -05:00
Evan You b3ebfef91d also bind static special attrs as props (fix #4530) 2016-12-22 22:32:57 -05:00
chengchao 71cc0a575b Node maybe be removed v-html/v-text (#4548) 2016-12-22 21:17:40 -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 bf8aac0053 fix weex test case 2016-12-14 12:29:30 -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 6116bbf13a fix svg foreignObject regression (fix #4478) 2016-12-14 11:24:53 -05:00
Evan You 4cca50725a fix v-for on v-else branch regression (fix #4464) 2016-12-13 12:02:37 -05:00
chengchao 6918436bf8 Update normalize children (fix 4466) (#4468)
* omit boolean node

* add test case

* update boolean type

* update test case

* update test case
2016-12-13 11:52:25 -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 9cfd63a7d0 fix weex tests 2016-12-07 16:48:29 -05:00
Evan You d2f7f1913e fix codegen tests 2016-12-05 02:36:40 +01:00
Evan You 4b51ad0483 rename _h -> _c so that vue-template-es2015-compiler can use the new internal createElement without breaking backwards compatibility 2016-12-05 02:36:40 +01:00
Evan You 7c3c86f360 fix namespace hoisting 2016-12-05 02:36:40 +01: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 1def2d11a5 fix test for emptyVNode rename 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
Evan You de7764a385 refactor patch createElm function, fix component hook merging 2016-11-30 14:21:01 -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 e0ab042295 add focused test eslint rules for tests 2016-11-25 13:04:44 -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 1903df4991 rename ASTElement node.conditions -> node.ifConditions, avoid mutating it during codegen (close #4317) 2016-11-25 10:06:21 -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
Evan You a52a094bef wip: adjust update error reporting 2016-11-24 12:17:41 -05:00
Evan You b7946a4b22 wip: fix tests with expected warnings 2016-11-24 12:00:51 -05:00
Evan You 00c137fb27 test: check unexpected warnings 2016-11-24 11:50:20 -05:00
Evan You 3cfd84346f fix style !important spec 2016-11-24 11:21:25 -05:00
Evan You 26b6374c3c test for static style !important support 2016-11-24 10:15:05 -05:00
Evan You 6034c3e699 ensure methods are available in data() (close #4302) 2016-11-24 10:02:20 -05:00
Evan You b2b9d1c272 fix property reference proxy check for hand-written render functions 2016-11-23 17:46:41 -05:00
(´・ω・`) fce3f04a44 Ensure Vue instance's vnode and element is up to date (#4299)
* fix #4284, recursively update vnode element

* fix #4284, ensure vm's vnode is up to date

* add test for edge case
2016-11-23 13:18:52 -05:00