輕量級 JavaScript 庫,Vue.js 0.12.9 發布
Vue.js 是構建 Web 界面的 JavaScript 庫,提供數據驅動的組件,還有簡單靈活的 API,使得 MVVM 更簡單。
主要特性:
-
可擴展的數據綁定
-
將普通的 JS 對象作為 model
-
簡潔明了的 API
-
組件化 UI 構建
-
配合別的庫使用
支持的瀏覽器:https://saucelabs.com/u/vuejs
Vue.js 0.12.9 發布,此版本更新內容如下:
-
Support naming assets using camelCase and using them with dash case (similar to props).
改進
-
In 0.12.8
v-attrintroduced a new behavior of setting the corresponding property on the element. As it turns out, the only property that needs this behavior isvalueon input elements. In 0.12.9 this behavior now only applies tovalueattribute bindings.
Bug 修復
-
Fixed error when running inside jsdom.
-
#1079 boolean prop default value not respected
-
#1080 strict mode inline repeat instances not inheriting parent scope assets
-
#1083 interpolations not working in some directive params such as
track-by -
#1084 not rendering correctly when a component is right inside another one
-
#1093 container/template classes are not merged for SVG components
-
#1095 Safari content not cloned when inside
-
#1097 transcluded
v-ifcomponents assigned wrong $parent -
#1107 empty string props casted to
-
#1108
v-model+v-repeatof primitive value arrays not syncing booleans and null
下載:https://github.com/yyx990803/vue/archive/0.12.9.zip。
來自:http://www.oschina.net/news/64752/vue-js-0-12-9