Herrington Darkholme
46b8d2c59d
fix(server): use path.posix.join to generate public path ( #8177 )
fix #8167
6 years ago
Kevin Ball
ecac831691
fix(compiler): templates inside v-pre should be rendered to HTML ( #8146 )
close #8041
6 years ago
DongGyu Lee
61c32cc673
Fix: block unnecessary input event on input tag placeholder in IE ( #8140 )
6 years ago
Jovino Xu
aef2a5f3db
fix(compiler): maybeComponent should return true when "is" attribute exists ( #8114 )
close #8101
6 years ago
Eduardo San Martin Morote
ecc239e475
fix(for): use IE compatible regex in v-for regex ( #8048 )
Closes #7946
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
宋铄运
265dd45778
refactor(class-util): cache whitespace regex ( #8743 )
6 years ago
JJJ
4f111f9225
refactor: empty function replace to noop ( #8791 )
6 years ago
Clark Du
390ff8ede8
refactor: add missing else in genNode ( #8600 )
6 years ago
宋铄运
88f687cb26
refactor(transition): replace nested closure with static ones ( #8547 )
6 years ago
Sagir Khan
af819a07dd
refactor(shared-utils): Improve readability and consistency in code comments ( #8529 )
Improvements that apply to all comments:
- Consistent use of periods
- Consistent use of commas
- Consistent capitalization
- Correct use of articles (a, an, the)
Improvements to specific comments:
- Correct pluralization in the description for helper functions
- Reword for clarity and break into shorter sentences the description
for `polyfillBind` function
- Reword for clarity the description for `genStaticKeys` function
- Add a previously missing description for `looseIndexOf` function
Fixes: https://github.com/vuejs/vue/issues/8528
6 years ago
sqal
5e912976c4
chore: update reference to already defined variable ( #8518 )
6 years ago
李春
4dec3b52c9
chore: remove useless code ( #8002 )
6 years ago
HcySunYang
6e5909869c
refactor: set should return early if original def has getter but no setter ( #7981 )
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
GU Yiling
1e1ce0cac7
fix: replace hardcoded .parentNode with abstract ops, fix #8713 ( #8714 )
6 years ago
Haoqun Jiang
c21b89ebed
fix(ssr): fix double escaping of staticClass values ( #7859 ) ( #8037 )
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
Clark Du
833175e9d6
refactor: ignore control-regex lint for unsafeAttrCharRE ( #8601 )
6 years ago
Evan You
3d36a443c7
fix: fix potential xss vulnerability in ssr when using v-bind
6 years ago
Zhenfei You
62265035c0
feat(weex): support object syntax of class ( #7930 )
7 years ago
Pooya Parsa
ef0b250979
feat(server, webpack-plugin): webpack 4 support ( #7839 )
SSR webpack 4 compat
7 years ago
Clark Du
575b6e77ab
fix(ssr): render initial and used async css chunks ( #7902 )
compatibility with webpack 4 + mini CSS extraction
close #7897
7 years ago
Evan You
ae6dcd63a0
fix(ssr): remove trailing hash in webpack module identifier when
generating client manifest
7 years ago
Evan You
950daca99b
types: make flow happy
7 years ago
Evan You
faaf142cb6
refactor: reduce component mergeHook arg count
Because f43ce3a5 removed the two extra args from init hook
7 years ago
Luis Hernandez
8227fb3524
fix: add missing `asyncMeta` during VNode cloning ( #7861 )
7 years ago
Matheus Azzi
1bd6196fb2
fix(codegen): support IE11 and Edge use of "Esc" key ( #7887 )
Closes #7880
7 years ago
Piotr Kaminski
7a145d8643
fix(observer): invoke getters on initial observation if setter defined ( #7828 )
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
f43ce3a5d8
fix: invoke component node create hooks before insertion ( #7823 )
fix #7531
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
Evan You
903be9b91f
Revert "refactor: remove unnecessary checks ( #7875 )"
This reverts commit 43551b4fb6
.
7 years ago
Huo Chunyang
43551b4fb6
refactor: remove unnecessary checks ( #7875 )
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
leon
1a979c44d6
fix(ssr): fix v-show inline style rendering when style binding is array ( #7814 )
fix #7813
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
4378fc5124
fix: fix keyName checking for arrow keys in IE11
fix #7806
7 years ago
Evan You
984927a1a9
fix: fix regression on duplicate component init when using shared data objects
fix #7805
7 years ago
Evan You
702000971c
chore: fix typo
7 years ago
JK
35dc8c2555
types: add Fragment in RenderState typing ( #7802 )
7 years ago