Commit Graph

1047 Commits

Author SHA1 Message Date
Evan You
84b7b82031 fix SSR tests 2016-12-22 23:03:05 -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
2009de3d5d ignore untestable check 2016-12-21 23:35:16 -05:00
Evan You
0eb8cdc7f7 support v-bind object on scoped slots (fix #4529) 2016-12-21 23:27:21 -05:00
Evan You
36193183e1 avoid checked state being overwritten before change event trigger (fix #4521) 2016-12-21 22:35:21 -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
Artur Kornakov
451ea37c7b don`t cast empty string to Boolean if prop types include String and Boolean (fix #4538) (#4539) 2016-12-21 16:41:52 -05:00
chengchao
56bfa1d291 update loose equal, check toString value for primitive type (#4528) 2016-12-21 16:22:54 -05:00
Bryce Johnson
fd55399ff9 Specify that tags with side-effects will not be parsed. (#4525) 2016-12-21 16:20:18 -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
Evan You
d212a109b0 adjust ignoredElements check after merge 2016-12-19 21:21:18 -05:00
Dmitry Semenyuk
b8a2ee5c4b Set default value for ignoredElements to []. (#4518)
(as https://vuejs.org/v2/api/#ignoredElements puts it)
2016-12-19 21:20:07 -05:00
勾三股四
831a9eee97 [weex] supported weex instance variable (#4516) 2016-12-19 10:56:32 -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
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
0fe431b490 optimize components with no data option 2016-12-13 21:22:30 -05:00
Evan You
7ffa77f3df optimize instance hook event lookup 2016-12-13 21:01:12 -05:00
Evan You
b97cd0bb6c revert events 2016-12-13 20:16:22 -05:00
Evan You
065b8b3d5f tweak wathcer 2016-12-13 20:12:45 -05:00
Evan You
dae1f3df48 optimize instance initialization 2016-12-13 20:00:54 -05:00
Evan You
7c9e81e772 optimize initEvents 2016-12-13 19:29:07 -05:00
Evan You
31347d1de6 remove font from isSVG detection to avoid issues with legacy markup using the tag in HTML (close #4459) 2016-12-13 12:03:46 -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
2d87b950c9 ignore ie9 branch for coverage 2016-12-12 21:34:10 -05:00
Evan You
2afa2601e0 ensure local assets is prioritized regardless of naming convention (fix #4434) 2016-12-12 21:30:52 -05:00
Evan You
5fa45c3bf8 avoid ssr build warning when using minified build 2016-12-12 14:22:55 -05:00
Evan You
92473853dd avoid error when asserting mismatched nodes during hydration 2016-12-12 14:22:55 -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
29d6e33b33 simplify value change check for v-model modifiers 2016-12-09 12:20:12 -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
0163a6fe53 proper fix for #4392 (via #4402) 2016-12-08 16:02:26 -05:00
Evan You
8567e7dced extract identity function into util 2016-12-08 14:58:26 -05:00
Hanks
cdd36875d6 be able to parse the real tag name for the specific platform (#4417) 2016-12-08 14:56:14 -05:00
Evan You
b141c6930d fix filter parsing for divisions (fix #4415) 2016-12-08 13:15:33 -05:00
Evan You
58949bd1c5 use sameVnode check when pacthing keyed children (fix #4393) 2016-12-08 12:26:22 -05:00
Evan You
b48c45eb7e ensure set value last in IE9 (fix #4391) 2016-12-08 12:12:11 -05:00
Evan You
4c3abdda92 avoid showing chrome devtools message in Edge 2016-12-08 11:57:48 -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
Eduardo San Martin Morote
b9376eb5ff Refactor version replacement (#4400)
Use the rollup replace plugin to replace weexVersion and (Vue) version
inside the files
2016-12-08 10:01:38 -05:00
Evan You
4da64ee2ae use babel-plugin-istanbul instead 2016-12-07 17:40:27 -05:00
Evan You
929c16f3dd slightly improve ssr hydration performance 2016-12-07 17:34:23 -05:00
Evan You
28ec3c7709 minor tweaks 2016-12-07 16:44:10 -05: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
207c18c47f further reduce normalizeChildren usage 2016-12-05 02:36:40 +01:00
Evan You
7c3c86f360 fix namespace hoisting 2016-12-05 02:36:40 +01:00