Commit Graph

1956 Commits

Author SHA1 Message Date
Evan You 303780acd2 make function compilation reusable 2017-05-15 15:35:45 +08:00
Evan You 4461b4c399 rename entries 2017-05-15 15:17:38 +08:00
Evan You af12d3ff7f progress 2017-05-15 14:14:49 +08:00
Evan You 579653a6ac refactor codegen: pass state via arguments 2017-05-15 13:39:25 +08:00
Evan You 7694c85564 fix static tree optimization for v-else(-if) conditions 2017-05-15 12:05:19 +08:00
Evan You da1db7af31 experiment 2017-05-14 14:23:38 +08:00
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
2017-05-12 10:22:00 +08:00
Melvin Lee 92d61922e9 Add TypeScript definition for ssrContext (#5654) 2017-05-12 10:21:25 +08:00
Evan You 8c34f225a0 update backers 2017-05-12 10:17:14 +08:00
AchillesJ e3ffa109b3 make vm.$watch api consistent with watch option (#5645) 2017-05-11 15:10:40 +08:00
Evan You 8d56a498f3 [release] 2.3.3 2017-05-10 00:57:08 +08:00
Evan You 6bdaeb0444 [build] 2.3.3 2017-05-10 00:57:07 +08:00
chengchao aaad7334d9 improve scoped slot test case (#5640) 2017-05-10 00:54:09 +08:00
Evan You e70f191b56 no need to test composition events on Android 2017-05-10 00:51:28 +08:00
Evan You 38759a6957 fix test case in IE 2017-05-10 00:37:41 +08:00
Evan You 8d54aecdd0 async components: timeout should not trigger if already resolved (fix #5635) 2017-05-09 23:35:09 +08:00
Evan You 3139605bb1 ignore ssr getter 2017-05-09 23:25:58 +08:00
Evan You 0ccefff794 support v-for on scoped slots (fix #5615) 2017-05-09 23:22:55 +08:00
Evan You dc00590bc5 comments 2017-05-09 23:22:55 +08:00
Evan You ec70b44c28 tweak noramlizeArrayChildren 2017-05-09 23:22:55 +08:00
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
2017-05-09 23:21:49 +08:00
pengchongfu 5d965d5b3b clone `isComment` when cloneVNode (#5633) 2017-05-09 21:12:59 +08:00
chengchao b5b1ac373a improve mutli-line `&&` coding style to keep consistence (#5625) 2017-05-09 20:24:25 +08:00
狼族小狈 1c40e32706 Fix use mixin API feat continuous operation (#5610)
* Update use.js

fix:use feat continuous operation

* Update mixin.js

fix:mixin feat continuous operation
2017-05-09 20:23:38 +08:00
Evan You ca02043194 avoid using native as identifier (close #5623) 2017-05-07 21:50:33 +08:00
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
2017-05-07 21:46:33 +08:00
Herrington Darkholme 9ac4c4188d fix #5591: keep ssr template interpolation whitespace-insensitive (#5597) 2017-05-07 21:43:02 +08:00
laoxiong 5c0c8c8865 improve: optimize the performance of scheduler (#5607) 2017-05-07 21:41:22 +08:00
maggiehe a8da4fb051 fix #5592: comment vnode should not be merged into text vnode. (#5593)
* comment vnode should not be merged into text vnode.

* add isFalse helper

* delete trailing spaces
2017-05-07 21:39:04 +08:00
Evan You b977c77d34 [release] 2.3.2 2017-05-02 18:29:59 +08:00
Evan You 60291f2752 [build] 2.3.2 2017-05-02 18:29:58 +08:00
Evan You 8dc4215994 improvements for handling vue-loader functional components with style injections 2017-05-02 18:27:29 +08:00
Evan You 8d7ad197c3 expose $ssrContext 2017-05-02 17:32:44 +08:00
Evan You 6b4f3da51d [release] 2.3.1 2017-05-02 15:58:53 +08:00
Evan You 2355318f0f [build] 2.3.1 2017-05-02 15:58:34 +08:00
Evan You ebd0338d5a introduce previous behavior as runInNewContext:"once" 2017-05-02 11:30:03 +08:00
Evan You cab1b151e2 avoid swallowing webpack error when entry is not found (fix #5553) 2017-04-30 12:44:23 +08:00
Evan You 2a1f79dfbe run bundle in the same global context when runInNewContext is false (fix #5559) 2017-04-30 12:39:33 +08:00
kazuya kawaguchi 9478fde8c9 tweak type definition layouting (#5564) 2017-04-30 11:32:39 +08:00
Evan You 228f0f8f3b remove unnecessary :any castings due to improved flow checks 2017-04-29 14:56:14 +08:00
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
2017-04-29 14:42:35 +08:00
Herrington Darkholme bb7c543fc2 fix #5539: improve `isDef` type definition (#5549)
* fix #5539: improve flow type coverage

* skip unnecessary object creation

* use flow internal syntax to enable predicate type
2017-04-29 14:24:06 +08:00
Pooya Parsa 1635ca7143 [vue-server-renderer] ensure assets are unique (#5540)
* [vue-server-renderer] ensure assets are unique

* add lodash.uniq to devDependencies
2017-04-29 14:16:23 +08:00
Evan You d6c070d54d link to latest info 2017-04-28 10:42:24 +08:00
Evan You a27c464692 [release] 2.3.0 2017-04-27 14:22:09 +08:00
Evan You 87b0d5d5a4 [build] 2.3.0 2017-04-27 14:22:08 +08:00
Evan You d8315c42ef do not decode text inside script/style tags (fix #5526) 2017-04-27 12:23:48 +08:00
Evan You 3a6fd13bc5 [release] 2.3.0-beta.1 2017-04-26 18:32:31 +08:00
Evan You 56b6f8aac6 [build] 2.3.0-beta.1 2017-04-26 18:32:30 +08:00
Evan You cb0531c4fb increase async delay for more test cases 2017-04-26 18:29:09 +08:00