Zhang Visper
7561b94eeb
warn against non-primitive key ( #5816 )
8 years ago
Evan You
b5e4a22a8d
refined async hydration + tests
8 years ago
Evan You
7404091896
support async hydration
8 years ago
Evan You
303780acd2
make function compilation reusable
8 years ago
Evan You
af12d3ff7f
progress
8 years ago
Evan You
7694c85564
fix static tree optimization for v-else(-if) conditions
8 years ago
Evan You
38759a6957
fix test case in IE
8 years ago
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
8 years ago
Evan You
d8315c42ef
do not decode text inside script/style tags ( fix #5526 )
8 years ago
Evan You
c24f492543
fix edge test case
8 years ago
Evan You
7b8b0e48f7
restructure: remove entires directory
8 years ago
Evan You
80fa9bf3d6
fix hydration tests
8 years ago
Evan You
69e62f0a74
refactor: remove constants from config
8 years ago
Evan You
e0a7c1ac68
use data attribute for ssr marker
8 years ago
Evan You
0bb529a275
also warn when listening to camelCase events in in-DOM templates
8 years ago
Piotr Kaminski
e47b1e5c4d
Allow named properties on reactive arrays. ( #5216 )
* Allow named properties on reactive arrays.
* Remove semicolons to comport with style guide.
* Pacify flow type checking.
Without the cast to any, flow complains that Array doesn't have an
__ob__ property. This appears to be an instance of this issue:
https://github.com/facebook/flow/issues/1330
8 years ago
kingwl
4c4a2ab65f
trigger event after reassigned state - Fix #5191 ( #5233 )
8 years ago
AchillesJ
c6ab2e06d4
warn when template contains text outside root element ( #5164 )
* warn when template contains text outside root element
* fix warned flag
* make warn once a function
8 years ago
Evan You
e7dfcc334d
fix custom directive arg fall through ( fix #5162 )
8 years ago
kingwl
4964b253d0
fix wrong order of generate modifier code ( #5147 )
* fix wrong order of generate modifier code
* add unit test of #5146
* Update events.js
8 years ago
Herrington Darkholme
8fca83d6b6
fix #5121 : parse content in textarea as plaintext ( #5143 )
* fix #5121 : parse content in textarea as plaintext
* update comment
8 years ago
Evan You
a524919d21
fix v-on inline function expression with modifiers ( fix #5120 )
8 years ago
YOU
e12d96a132
chore(parser.spec): fix an IE conditional test with a typo ( #5102 )
* chore(parser.spec): fix an IE conditional test with a typo
* check children.length is 0, instead of undefined
8 years ago
YOU
61930e0cc6
chore(test): fix some typos ( #5101 )
8 years ago
Nathan Shively-Sanders
2dc177ffb3
SFC parseComponent pads complete content with spaces ( #5059 )
* SFC parseComponent pads content with spaces
when `{ pad: true }` is provided. That is, all content is converted to
spaces. Previously, each line was truncated to "//". The new padding
method works better with character-oriented tools that calculate
positions by distance from the beginning of the file instead of by line
number.
* Made parseComponent's pad support "line" | "space"
Also still supports true for backward compatibility. True is the same as
"line".
8 years ago
kazuya kawaguchi
0922b1d8aa
improve set/delete API ( #5050 )
8 years ago
Evan You
3294eba5a5
fix v-on .left .right compat with keyboard events ( fix #5046 )
8 years ago
Evan You
05c769bf44
fix .once with other modifiers that prevent execution of a handler ( fix #4846 )
8 years ago
Evan You
f59aef08e6
further improve end tag check ( close #4408 )
8 years ago
Zephraph
97d36bc23f
Pass attributes to parseComponent (addresses #4914 ) ( #4925 )
* Pass attributes to parseComponent
* Edited source in the right place, added test
* Back out changes made to the generated compiler build file
* Add a few more checks
8 years ago
Evan You
af619151c6
improve other parser warnings
8 years ago
Evan You
cfb4d7c655
improve parser warning for tags with no matching close tag
8 years ago
Evan You
a0a619f611
fix sfc parser hanging on trailing ill-formatted brackets (fix vue-loader/#628)
8 years ago
chengchao
e02fb1294d
preserve the only whitespace child ( #4760 )
8 years ago
dhcmrlchtdj
938fa4efcc
fix(sfc): component contains '<' only ( #4753 )
* fix(sfc): component contains '<' only
* update based on reviews
8 years ago
Evan You
c660917b29
improve event update algorithm (thanks to suggestions from @defcc )
8 years ago
Evan You
1a1952ba81
handle single -> array & array -> single event handler patching ( fix #4650 )
8 years ago
Evan You
08bd81f8c0
fix #4530 with smaller change scope
8 years ago
Evan You
ab0a2259e0
Revert "also bind static special attrs as props ( fix #4530 )"
This reverts commit b3ebfef91d
.
8 years ago
Evan You
4e830ba3c3
Revert "Mark node with static props as static ( #4662 )"
This reverts commit 92657249dd
.
8 years ago
chengchao
92657249dd
Mark node with static props as static ( #4662 )
* fix special static attrs as dom prop
* refactor
8 years ago
Evan You
2ee516dfc8
ensure updated hook is called after children are updated as well ( fix #4599 )
8 years ago
Evan You
6b1755ae8c
adjust hydration strategy ( fix #4560 )
8 years ago
chengchao
66bf120f7a
enforce to loop through children to get the correct normalize type ( #4572 )
8 years ago
Evan You
01f533db1a
avoid duplicate whitespace nodes caused by comments
8 years ago
Evan You
de220a635d
ignore text nodes between v-if conditions ( fix #4533 )
8 years ago
Evan You
b3ebfef91d
also bind static special attrs as props ( fix #4530 )
8 years ago
chengchao
71cc0a575b
Node maybe be removed v-html/v-text ( #4548 )
8 years ago
Evan You
f1c38674f2
use simple normalization for components, fix functional component multi-root node ( fix #4472 )
8 years ago
Evan You
6116bbf13a
fix svg foreignObject regression ( fix #4478 )
8 years ago