Commit Graph

1194 Commits

Author SHA1 Message Date
Evan You
ceab0b71d0 fix functional components that return string or nothing (fix #3919) 2016-10-12 13:31:39 -04:00
Evan You
7ca58b6cdf small tweak 2016-10-12 13:28:56 -04:00
defcc
a9417e4e4f select change event fix (#3922)
* if select binding not changed, then needRest should be set to false, and no change event should be emitted

* update code style
2016-10-12 13:26:42 -04:00
宋铄运
443ef1c26c Update CONTRIBUTING.md's jdfiddle template, and vue's version inside ISSUE_TEMPLATE.md (#3921)
* Update CONTRIBUTING.md's jdfiddle template

* Update ISSUE_TEMPLATE.md
2016-10-12 13:22:21 -04:00
Evan You
70aee1c7f8 [release] 2.0.2 2016-10-12 00:54:07 -04:00
Evan You
617b9982e0 [build] 2.0.2 2016-10-12 00:54:06 -04:00
Evan You
864ef21a7d fix deeply nested keep-alive components not being destroyed (fix #3882) 2016-10-11 23:58:53 -04:00
Evan You
03ea9f0b57 fix flow 2016-10-11 20:50:28 -04:00
Evan You
7570a3c566 test for directive refactor (fix #3848) 2016-10-11 20:49:10 -04:00
Evan You
1fa3844dc2 refactor directive update implementation 2016-10-11 20:31:13 -04:00
Evan You
4a74883864 improve mergeVNodeHook logic 2016-10-11 19:32:01 -04:00
Evan You
e9bf5d1cd9 add warning for using v-model on v-for alias 2016-10-11 18:18:11 -04:00
Evan You
32383e5fa3 remove name option warning during instantiation 2016-10-11 17:58:02 -04:00
Evan You
4740597b66 include component file location in warning if available 2016-10-11 17:53:20 -04:00
Evan You
1bb7cba0e0 improve event warning with component information (close #3831) 2016-10-11 17:32:35 -04:00
defcc
2ee6ef205d replace special terminators chars (#3903) 2016-10-11 14:10:14 -04:00
Evan You
5300ef7819 fix style module removing styles with value 0 on update (fix #3905) 2016-10-11 13:05:34 -04:00
Evan You
d0cfd549ba Revert "fix select multiple first option auto-selected in Chrome/FF (fix #3852)"
This reverts commit f9bef75a34.
2016-10-11 12:53:51 -04:00
defcc
8bb1e58df0 fix multiple select render (#3908)
* fix multiple select render. The mutliple attribute of select dosen't apply at first, so the mutli selected option dosen't work when patching

* keep the vnode.data the same as before
2016-10-11 12:53:30 -04:00
Evan You
71ef9d68f2 update backers 2016-10-10 23:52:57 -04:00
Evan You
cc4c066989 fix coverage 2016-10-10 23:25:24 -04:00
Evan You
484e538df8 fix lint 2016-10-10 23:17:35 -04:00
Evan You
5b4b9269a5 avoid updating input value during IME composition (fix #3894) 2016-10-10 23:15:34 -04:00
Evan You
be6e050b89 fix mounted not called for manually mounted instance with parent (fix #3898) 2016-10-10 23:03:21 -04:00
Evan You
86f0d114ec fix dependency collection for multi-nested arrays (fix #3883) 2016-10-10 22:55:15 -04:00
Evan You
3446d1485d support functional components as named slot (fix #3872) 2016-10-10 22:41:14 -04:00
Evan You
5925ad3bd2 tweak select IE fix to reduce duplicate call 2016-10-10 21:23:49 -04:00
Evan You
f9bef75a34 fix select multiple first option auto-selected in Chrome/FF (fix #3852) 2016-10-10 21:23:25 -04:00
Evan You
74e4e11b44 fix v-on handler with whitespaces (fix #3893) 2016-10-10 19:30:19 -04:00
defcc
8d2fc8e8ac add getTypeList to process mutli-type prop (#3885)
* add getTypeList to process mutli-type prop

* update arrow function

* refactor to isBooleanType for performance

* update isBoolean check
2016-10-10 19:20:43 -04:00
Chris Fritz
de199f9bbd allow 2 root nodes with v-if and v-else (#3887)
* allow 2 root nodes with v-if and v-else

* fix compiler-options test with less specific text
2016-10-09 16:33:23 -04:00
defcc
f59e903d0b setTimeout fallback update (#3868)
* - update setTimeout fallback
- reset cachedWrite.cacheBuffer with .length = 0 for better efficient

* update style

* revert cacheBuffer

* update to arrow function
2016-10-08 14:16:41 -04:00
katashin
6643cb8c23 Update typings (#3876)
* ensure `this` in methods is vue component

* update createElement type and expose it
2016-10-08 14:15:36 -04:00
Evan You
f35f7e35cd add v-model dynamic type warning 2016-10-08 14:15:05 -04:00
Evan You
addb461e3c fix ssr bundle renderer error on commonjs exports (fix #3867) 2016-10-07 17:42:48 -04:00
Phan An
adae5caaee Make forAlias regex lazy (fixes #3846) (#3859)
The current forAliasRE has the first rule greedy (`.*?`), which will
attempt to match whatever it can. This exposes a bug (#3846), where the
regex fails if the template happens to have " in " or " of " in its last
group. For instance, with the template `for key in [{body: 'Hey in
body'}]`, current regex will capture the last group as `body'}]` instead
of `[{body: 'Hey in body'}]`. This commit aims to fix this issue by
making the first rule lazy instead.
2016-10-07 17:40:17 -04:00
Vincent Klaiber
463c9c9e08 Switch to https (#3864)
Replaced all http vuejs.org links with https instead.
2016-10-07 17:39:51 -04:00
Eduardo San Martin Morote
c2e6bf8637 Fix links to docs in Readme (#3858)
* Fix links to docs in Readme

Fix #3857

* Rename reactivity system link to docs in readme
2016-10-05 16:04:32 -04:00
Sebastian Schweizer
6541e68aaa add license information to vue.common.js (#3835) 2016-10-05 15:16:01 -04:00
Eduardo San Martin Morote
c835ce57ff Allow text nodes on static templates in components (#3826)
Fix #3824
2016-10-05 15:13:14 -04:00
Evan You
e6d224c3c5 [release] 2.0.1 2016-09-30 17:12:01 -04:00
Evan You
d69b64f01f [build] 2.0.1 2016-09-30 17:12:01 -04:00
Evan You
1c79c56a3e revert npm main field (fix SSR externalization) 2016-09-30 17:03:26 -04:00
Evan You
156cfb9892 [release] 2.0.0 2016-09-30 14:32:01 -04:00
Evan You
3ad68b96e2 [build] 2.0.0 2016-09-30 14:32:00 -04:00
Evan You
89adabf0a5 remove --next tag in release script 2016-09-30 14:24:56 -04:00
Evan You
8ef603b7c3 test <template> key warning, fix coverage 2016-09-30 14:19:16 -04:00
Evan You
51aa3e594a comment 2016-09-30 14:19:16 -04:00
Evan You
99ea0f8229 adjust named slot resolve check (fix #3819) 2016-09-30 14:19:16 -04:00
Evan You
b8369e802b fix test template typo 2016-09-30 14:19:16 -04:00