Vue.js 0.11.6 發布,JavaScript 庫
Vue.js 0.11.6 發布,此版本更新內容如下:
新特性
-
Added
inline-templateparam forv-component. -
Added
debounceparam forv-model. -
optionparam forv-modelnow supports filters. -
v-modelnow interopts with jQuery events.
改進
-
<content select="">selectors now can only select top-level childNodes of the host node. This new behavior is more consistent with the Shadow DOM spec and also fixes issues where the selector can match unwanted nodes in nested transclusions. -
JavaScript transition functions' invocation context are now always the closest vm of the node being transitioned, regardless of which vm the transition directive belongs to. This means if a node being transition is a vm's root node, that vm will be used as the
thiscontext. -
v-repeatnow uses an in-place update strategy for better DOM/instance reuse when the following conditions are met: -
the repeated block doesn't contain components;
-
the repeated list is not using transitions. This change should not break existing usage.
Bug 修復
-
#655 directives on block instance containers are not compiled
-
#670 honor
numberoption for select with multiple attribute -
#684 attach/detach hooks for transcluded components inside
v-ifare never called -
#695
nameoption should be inherited -
#707
v-repeatnot working on$data -
#715 boolean literals not working with
v-with -
#716 unwatch causing error during destroy
-
#717 error parsing multiline expressions
-
#720 return empty string for Infinity and properly format floating point values
-
#721 support sorting by $key and $value in
orderByfilter -
#728
v-ifandv-partialnot calling unlink functions when unbound -
#736 parent content loses reactivity when transcluded
-
#760
<textarea>placeholders become its value in IE10/11 -
#761
v-modelnot working$valueinsidev-repeat -
is undefined'" kesrc="https://github.com/yyx990803/vue/pull/766">#766
<option value="">initial value is undefined -
#772 reserved prefix check cannot handle Number arguments
-
#779 bi-directional filters not working in attribute interpolations
-
#781 reference errors are not handled in
vm.$get -
#783 nested repeat instances inherting parent
_reusedflag -
#784 Cannot use global
Dateand thenewkeyword inside expressions -
#791 instances with
inherit:truecalling unlink functions of parent when destroyed
此版本現已提供下載:https://github.com/yyx990803/vue/archive/0.11.6.zip
Vue.js 是構建 Web 界面的 JavaScript 庫,提供數據驅動的組件,還有簡單靈活的 API,使得 MVVM 更簡單。
支持的瀏覽器:https://saucelabs.com/u/vuejs

來自:http://www.oschina.net/news/61651/vue-js-0-11-6