轻量级 JavaScript 库,Vue.js 0.12.9 发布

cf35 9年前

Vue.js 是构建 Web 界面的 JavaScript 库,提供数据驱动的组件,还有简单灵活的 API,使得 MVVM 更简单。

主要特性:

  • 可扩展的数据绑定

  • 将普通的 JS 对象作为 model

  • 简洁明了的 API

  • 组件化 UI 构建

  • 配合别的库使用

支持的浏览器:https://saucelabs.com/u/vuejs

轻量级 JavaScript 库,Vue.js 0.12.9 发布Vue.js 0.12.9 发布,此版本更新内容如下:

  • Support naming assets using camelCase and using them with dash case (similar to props).

改进

  • In 0.12.8 v-attr introduced a new behavior of setting the corresponding property on the element. As it turns out, the only property that needs this behavior is value on input elements. In 0.12.9 this behavior now only applies to value attribute 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-if components assigned wrong $parent

  • #1104 & #1105 v-attr unnecesasrily setting properties

  • #1107 empty string props casted to

  • #1108 v-model + v-repeat of 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