Evan You
61187596b9
feat(core): $attrs, $listeners & inheritAttrs option
New features intended for easier creation of higher-order components.
- New instance properties: $attrs & $listeners. these are essentially aliases
of $vnode.data.attrs and $vnode.data.on, but are reactive.
- New component option: inheritAttrs. Turns off the default behavior where
parent scope non-prop bindings are automatically inherited on component root
as attributes.
close #5983 .
7 years ago
Evan You
afa108238f
test: remove unecessary id in test case
7 years ago
Evan You
1b7ddd7a35
feat(types): expose $vnode
7 years ago
Evan You
11614d63b7
feat(v-on): support v-on object syntax with no arguments
Note this does not support modifiers and is meant to be used for handling
events proxying in higher-order-components.
7 years ago
Evan You
b0b6b7e972
build: upgrade rollup
7 years ago
Evan You
0a9aab510b
fix(v-model): fix input change check for type="number"
The change should only apply to the .number modifier, not type="number".
fix #6069
7 years ago
Evan You
fed602b90b
refactor: also clone vnode.asyncFactory
7 years ago
chengchao
4d680794a5
fix(parser): the first newline following pre and textarea tag should be ignored ( #6022 )
fix #6022
7 years ago
Evan You
a1d1145c91
fix(v-model): should generate component-specific code for tags with "is" attribute
fix #6066
7 years ago
Evan You
8d66691ee2
fix(core): should preserve reactivity-ness of injected objects
fix #5913
7 years ago
Evan You
5dbca4e3c4
style: tweak import style
7 years ago
Hanks
b1512d8b13
feat(weex): implement "weex.supports" api to support feature detection ( #6053 )
* feat(weex): add "weex.supports" api for feature detection
* test(weex): add test case for weex.supports and related methods
7 years ago
Hanks
0d6ad12a48
refactor(weex): sync recent changes of Weex ( #6028 )
* compile bundle on native side if 'compileBundle()' is available on
native side.
* refactor sendTasks
* reset renderer.compileBundle
* v2.2.2-weex.1
* v2.2.2-weex.2 && fixed memory leak
* call C++ timer instead of WxTimerModule in weex-vue-framwork
* v2.2.2-weex.4
* v2.2.2-weex.5
* v2.2.6-weex.1
* style(weex): fix eslint
* test(weex): fix test case for weex callback manager
7 years ago
Rahul Kadyan
306997eaf4
fix(core): add merge strategy for provide option ( #6025 )
Fix #6008
7 years ago
AchillesJ
254d85cfc4
fix(ref): refactor function registerRef ( #6039 )
fix #5997
7 years ago
wenlu.wang
d8d4ca6763
fix: transition group should work with dynamic name ( #6006 ) ( #6019 )
* fix: transition group should work with dynamic name (#6006 )
* fix: improve remove class
7 years ago
SSHz
8ff77a243c
fix typos in src/server/bundle-renderer/create-bundle-runner.js ( #6010 )
8 years ago
Evan You
275d95d0fe
chore: improve commit convention examples to be more Vue-specific
8 years ago
AchillesJ
eea0920f14
fix: improve Vue.set/Vue.delete API to support multi type of array index ( #5973 )
related #5884
8 years ago
AchillesJ
458030ae19
fix: v-bind object should not override props on scopedSlots ( #5995 )
* v-bind object should not override props on scopedSlots
* Update render-slot.js
8 years ago
JK
34d8c796ac
fix: check enterToClass/leaveToClass existence before adding it ( #5912 )
related: #5800
8 years ago
wenlu.wang
049f3171a9
fix: support plugin with multi version vue ( #5985 )
close #5970
8 years ago
Blake Newman
27a1b03827
chore(build): ignore dist files until release ( #5984 )
ignore dist files until release
improves contributor experience
ensures dist files can't be accidentally committed in
8 years ago
AchillesJ
16700c95e1
refactor(core): remove unnecessary switch case ( #5971 )
8 years ago
MopTym
de42186d52
fix(ssr): fix bundleRenderer mapped async chunks caching check ( #5963 )
_mappedfiles => _mappedFiles
8 years ago
wenlu.wang
e4da249ab8
feat: add `comments` option to allow preserving comments in template ( #5951 )
close #5392
8 years ago
JK
51c595a7ce
feat(keep-alive): support Array for include and exclude ( #5956 )
* allow array index on keep-alive:include/exclude
* add Array in patternTypes
* fix flow type
* add flow type for include/exclude in watch
* add test case
8 years ago
superwf
e01c09adad
refactor(compiler): remove 'head' tag contains 'html' tag condition code ( #5958 )
remove 'head' tag contains 'html' tag condition I am not sure this is necessary, but all test passed
after remove the code.
8 years ago
wenlu.wang
3965e5053a
feat: support sync modifier for v-bind="object" ( #5943 )
close #5937
8 years ago
J. Dalton Childers
bd79d7e179
README update to include Vue Land as questions resource and chat badges ( #5947 )
* Updated README to include Vue Land 😃
* Updated Discord link to be the Vue Land site
* Added Gitter and Discord Badges to README
8 years ago
lyhper
00a3085628
test: correcting existing test case ( #5909 )
Fix the location of the test case
8 years ago
Herrington Darkholme
f6cd44c48b
fix: ensure cleanup in watcher.get ( #5988 )
watcher.get should always clean up observee stack in order to prevent memory leak. Also, non-user
defined watch should rethrow error.
fix #5975
8 years ago
JK
55816543c4
fix(ssr): reference error when create $ssrContext for root component ( #5981 )
fix #5941
8 years ago
Evan You
0cd6ef321b
feat: resolve ES module default when resolving async components
8 years ago
Evan You
b5f08f3bed
build: use cross-platform hook installation with shelljs
8 years ago
Evan You
610d1aabe9
build: move test config files into /test
8 years ago
Evan You
a7afcb4cca
build: add script for generating release note
8 years ago
Evan You
b49c969474
build: add git commit message validation
8 years ago
Evan You
4acc8c8be1
fix(v-model): use consistent behavior during IME composition for other text-like input types ( fix #5902 )
8 years ago
Evan You
4f8f4db5dd
simplify source with rest params
8 years ago
kingwl
213f136a6e
fix slot resolved incorrect with abstract component ( fix #5888 ) ( #5895 )
8 years ago
gebilaoxiong
2f628c3114
test:improve reserved props test
8 years ago
gebilaoxiong
f197d0dc45
test:add bind object test
8 years ago
gebilaoxiong
d33c1250ee
fix:when using object syntax in v-bind, special attribute have no effect
8 years ago
王斐
8a2c5147ad
Be able to use string type index in array ( #5889 )
8 years ago
JK
080c387d49
Merge inject when extending a component ( #5827 )
* simply fix inject extends
* add comments for normalizeInject
* normalizeInect should return for non-array
* remove isArray branch in resolveInject
* add test case for extending injection
* Create options.js
* type of inject should be object now
* Revert "type of inject should be object now"
This reverts commit 8466a2866b868de00f755b80e5b3a3dc8bdc2d86.
8 years ago
Luke Bennett
9831b403cf
Add warnHandler to allow users to set a custom warn callback, similar to errorHandler ( #5883 )
8 years ago
David Eckel
69f946b437
Fix XHTML incompatibility ( fix #5852 ) ( #5853 )
8 years ago
Evan You
f3a15220c5
revert selenium version for CI
8 years ago
Evan You
5981529b49
bump deps
8 years ago