Kevin Ball
ecac831691
fix(compiler): templates inside v-pre should be rendered to HTML ( #8146 )
close #8041
6 years ago
Evan You
e9fc04ba50
test: fix assertion
6 years ago
Jovino Xu
aef2a5f3db
fix(compiler): maybeComponent should return true when "is" attribute exists ( #8114 )
close #8101
6 years ago
Yuhang Liu
1b69cbde74
refactor: add empty v-bind warning(re #7973 ) ( #7988 )
* refactor: add empty v-bind warnings
re #7973
* Update index.js
6 years ago
Eduardo San Martin Morote
db7287c23b
fix(shared): check dates in looseEqual ( #7940 )
Fix #7928
thanks to @w3cj for the initial version. This one is using getTime instead of toUTCString because it
is much faster to compare
6 years ago
katashin
9d2f9a034f
fix(sfc): avoid deindent when pad option is specified ( #7647 )
6 years ago
Evan You
76fd45c9fd
build: upgrade eslint and use only non-stylistic rules
6 years ago
Evan You
52f9d3f492
build: upgrade webpack & karma
6 years ago
Evan You
6b1d431a89
Revert "perf: avoid unnecessary re-renders when computed property value did not change ( #7824 )"
This reverts commit 653aac2c57
.
6 years ago
Yuriy Alekseyev
59860b0a75
refactor: make the warning messages more explicit ( close #7764 ) ( #7881 )
6 years ago
Edd Yerburgh
c94482743c
feat: add async option ( #8240 )
This is an option intended only for testing purposes, and should not be used in
application code.
6 years ago
Evan You
f148077437
chore: format
7 years ago
Evan You
653aac2c57
perf: avoid unnecessary re-renders when computed property value did not change ( #7824 )
close #7767
7 years ago
Evan You
b7445a2b94
fix: beforeUpdate should be called before render and allow state mutation ( #7822 )
fix #7481
7 years ago
Evan You
de42278d34
fix: ensure init/prepatch hooks are still repsected
this address a regression introduced in 984927a which
causes vue-router#1338 to resurface.
7 years ago
dherman
7b387390aa
fix: correct the `has` implementation in the `_renderProxy` ( #7878 )
It's feasible that someone might ask if something other than a string is
in the proxy such as a `Symbol` that lacks a `charAt` method. This aligns
the implementation with the `getHandler`.
7 years ago
Evan You
62a922e865
fix: fix wrongly matched named slots in functional components
This is a subtle edge case caused when a stateful component triggers
a self re-render, which reuses cached slot nodes. The cached slot
nodes, if returned from a functional render fn, gets the fnContext
property which causes subsequent slot resolving to not function
properly. To fix this, nodes returned from functional components
need to be cloned before getting assigned fnContext.
fix #7817
7 years ago
Piotr Kaminski
9084747e30
fix(core): Make set/delete warning condition for undefined, null and ( #7818 )
primitive values more precise. Corrects #7452
7 years ago
Hiroki Osame
a6169d1eb7
fix(model): fix static input type being overwritten by v-bind object ( #7819 )
fix #7811
7 years ago
Evan You
6dd73e9ee4
fix: named slots for nested functional components
Named slots should be respecred when passing raw children down multiple
layers of functional components.
fix #7710
7 years ago
Evan You
215f877d1b
fix(keep-alive): run prune after render for correct active component check
fix #7566
7 years ago
Evan You
984927a1a9
fix: fix regression on duplicate component init when using shared data objects
fix #7805
7 years ago
JK
666cdbd71e
test(vdom): add test case for #7786 ( #7793 )
7 years ago
Evan You
71b4b25375
fix: allow multiline expression in v-for
fix #7792
7 years ago
Evan You
81e1e47cab
fix: respect type order when boolean casting multi-typed props
fix #7485
7 years ago
AchillesJ
318f29fcdf
fix(core): disable dependency collection in lifecycle hooks and data getter ( #7596 )
This fixes the parent being updated more than necessary due to collecting child props
as dependencies during its own update computation.
fix #7573
7 years ago
Alex
6bc75cacb7
fix(v-on): return handler value when using modifiers ( #7704 )
7 years ago
Eduardo San Martin Morote
db584931e2
fix(v-model): handle trailing whitespaces in expression ( #7737 )
7 years ago
Sergei Chipiga
9e04f6af27
test: add unit tests for core/observer/dep ( #7738 )
7 years ago
Eduardo San Martin Morote
dc97a39c2f
fix(codegen): support filters with () in older browsers ( #7545 )
Fix #7544
Make sure no extra , is added at the end of the call so it also work with older browsers
7 years ago
Hiroki Osame
733c1be7f5
fix(inject): use hasOwn instead of 'in' for provideKey check ( #7460 )
fix #7284
* fix(Injection with Symbol polyfill): hasOwn instead of 'in'
Symbol polyfill adds a setter on the Object prototype so the 'in' check evaluated to true on every
object
* test(Injected properties): Ensures prototype properties aren't injected
Prototype properties were being injected, so injecting 'constructor' would have hit the first
provide-layer and not yield expected results.
7 years ago
İsmail Arılık
e9ea565d91
polish: raise warning when Vue.set/delete is called on invalid values ( #7452 )
close #7381
7 years ago
Evan You
80e650cfdf
chore: fix formatting
7 years ago
GU Yiling
1c0b4af5fd
fix: skip v-model & value binding collision check with dynamic type binding ( #7406 )
* fix #7404
7 years ago
Evan You
f7ca21eab1
fix: always install composition event listeners
Previously the installation was skipped on Android because
it was not needed for Chinese IME - however some IMEs such
as Japanese exhibits the same behavior as on other browers.
So it is safer to always enable the check. Closes #7367
7 years ago
Evan You
aeebf0de90
test: add test for observer lazy getter invocation
7 years ago
Evan You
f7311c90b3
refactor: move keyName alias map to compiler
7 years ago
JK
1c8e2e88ed
fix: support KeyboardEvent.key in built-in keyboard event modifiers ( #7121 )
fix #6900
7 years ago
Evan You
50b711af43
fix: do not special case attributes for custom elements
close #6864 , close #6885
7 years ago
Evan You
cd334070f3
fix: address potential regex backtrack
7 years ago
TB
e396eb3445
fix(ref): allow ref key to be zero ( #7676 )
prevents missing elements when :ref value is "0"
fix #7669
7 years ago
Guillaume Chau
5191f13472
fix(transition): should not add transition class when cancelled ( #7391 )
fix #7390
7 years ago
AchillesJ
05299610ea
fix(vdom): svg inside foreignObject should be rendered with correct namespace ( fix #7330 ) ( #7350 )
* add failed test case
* fix failed test case
* fix(vdom): svg inside foreignObject should be rendered with correct namespace
* adjust comments
7 years ago
Evan You
f8cb3a2393
chore: fix lint
7 years ago
Huo Chunyang
44420b7bbc
chore: correct the eslint script statement in package.json and correct the format. ( #7308 )
7 years ago
Evan You
144a4dd860
build: rename build/ to scripts/
7 years ago
Evan You
41838c8e86
feat: support v-model dynamic type binding for v-bind="object"
close #7296
7 years ago
Evan You
d8b08387a2
fix: clean up custom events when patched component no longer have events
fix #7294
7 years ago
Evan You
956756b1be
refactor: use more efficient on-demand clone to handle reused node edge cases
removes unnecessary slot/static node clones, fix #7292
7 years ago
Evan You
8335217cb4
fix(core): handle edge cases for functional component returning arrays
fix #7282
7 years ago