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.
8 years ago
Vincent Klaiber
463c9c9e08
Switch to https ( #3864 )
Replaced all http vuejs.org links with https instead.
8 years ago
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
8 years ago
Sebastian Schweizer
6541e68aaa
add license information to vue.common.js ( #3835 )
8 years ago
Eduardo San Martin Morote
c835ce57ff
Allow text nodes on static templates in components ( #3826 )
Fix #3824
8 years ago
Evan You
e6d224c3c5
[release] 2.0.1
8 years ago
Evan You
d69b64f01f
[build] 2.0.1
8 years ago
Evan You
1c79c56a3e
revert npm main field (fix SSR externalization)
8 years ago
Evan You
156cfb9892
[release] 2.0.0
8 years ago
Evan You
3ad68b96e2
[build] 2.0.0
8 years ago
Evan You
89adabf0a5
remove --next tag in release script
8 years ago
Evan You
8ef603b7c3
test <template> key warning, fix coverage
8 years ago
Evan You
51aa3e594a
comment
8 years ago
Evan You
99ea0f8229
adjust named slot resolve check ( fix #3819 )
8 years ago
Evan You
b8369e802b
fix test template typo
8 years ago
Kaorun343
ef6945932f
Fix $createElement and Vue.extend ( #3818 )
* Fix $createElement and extend
* Add AsyncComponent
8 years ago
Evan You
47ee6abfc6
remove codegen v-for truthiness check ( fix #3817 )
8 years ago
Evan You
6d4bdb5ff1
fix style binding for falsy numbers ( fix #3816 )
8 years ago
Evan You
8298323108
add <template> key warning
8 years ago
Evan You
f1e37f6002
do not add list key to text nodes ( fix #3810 )
8 years ago
Evan You
b5595476f1
change npm main
8 years ago
Hendrik Leppelsack
e29b711cb5
fix reference to backers.md ( #3808 )
8 years ago
Evan You
e468ba078e
fix coverage
8 years ago
Evan You
f7e878c808
update badges
8 years ago
Evan You
ae93d2bef8
update github links
8 years ago
Evan You
e5a6beb804
bump rollup
8 years ago
Evan You
0e8af343a7
check MutationObserver native-ness
8 years ago
Evan You
fd5ea73254
test iOS 8 instead of 7 given market share
8 years ago
Dan Reeves
e0698b2ebd
warn user calling Vue() without new ( #3793 )
8 years ago
fergaldoyle
790c99cdb4
fix IE/Edge select remembering selection ( #3803 )
* fix IE/Edge select remembering selection
* Use const over let
8 years ago
(´・ω・`)
aefb34812e
Update `$refs` type declaration ( #3765 )
* `$refs` is a dictionary of Vue instance or Element
* update $refs for array usage
8 years ago
Evan You
1d3811af78
update comments
8 years ago
Evan You
e6154316da
[release] 2.0.0-rc.8
8 years ago
Evan You
ccd44f3f41
[build] 2.0.0-rc.8
8 years ago
Evan You
310f5a2f5f
tweak v-model type=file warning phrasing
8 years ago
Eduardo San Martin Morote
b8095bf7b8
Warn when using v-model with input[type=file] ( #3791 )
8 years ago
Evan You
467572830f
fix coverage
8 years ago
松鹤
313ad8f87b
fix flow lifecycle method name [Vue@2.x] ( #3762 )
fix lifecycle method name `init` to `beforeCreate`
8 years ago
Evan You
43b489b11f
revert nextTick to microtask semantics by using Promise.then ( fix #3771 )
8 years ago
Evan You
08f2b97083
[release] 2.0.0-rc.7
8 years ago
Evan You
600d436541
[build] 2.0.0-rc.7
8 years ago
Evan You
c791fc7826
fix unit tests in IE9
8 years ago
Evan You
403f3ccb4c
set selected value on nextTick in IE/Edge ( fix #3689 by @fergaldoyle )
8 years ago
Evan You
c47e128eb6
move browser sniffing code back to core/util/env
8 years ago
Evan You
bba8b91886
limit v-model runtime shim on text inputs
8 years ago
Evan You
037449f453
ensure prop default value when instantiating without propsData ( fix #3693 )
8 years ago
Evan You
9566b3358f
no need to return text in getValue for v-model select ( fix #3729 )
8 years ago
Evan You
9fb1057672
Adjust nextTick implementation
MutationObserver is unreliable in UIWebView on iOS >= 9.3.3, and this hasn't
been fixed in iOS10. Moreover it is tedious to identify UIWebView vs. WKWebView
and native Safari now that iOS10 UIWebView supports IndexedDB as well.
We are switching to a setImmediate shim using window.postMessage. This uses
macrotask instead of microtask, but it doesn't actually affect Vue's logic.
8 years ago
Evan You
7eb6c8cfef
expose warn as noop in production builds
8 years ago
松鹤
575e810670
Optimization unit testing [vdom/patch/children] ( #3733 )
Optimization unit testing for vdom/patch/children.spec.js
8 years ago