JavaScript 框架,Vue.js 1.0.8 发布

jopen 9年前

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

主要特性:

  • 可扩展的数据绑定

  • 将普通的 JS 对象作为 model

  • 简洁明了的 API

  • 组件化 UI 构建

  • 配合别的库使用

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

Vue.js 1.0.8 发布,更新内容如下:

新特性

  • Added support for pre-defined getters/setters on data objects. This feature is off by default and must be turned on by setting Vue.config.convertAllProperties = true, since it comes with a small performance cost. (@jdavidberger)

  • v-on key modifiers now also support all single letters. (@yulon)

  • props options now supports using prop objects in array syntax again.

修复

  • Observer should no longer throw errors when trying to observe objects created via Object.create(null). (@kazupon)

  • Fixed an edge case in IE where text interpolations are not processed due to IE randomly splitting the text nodes into multiple adjacent ones.

  • #1778 fix incorrect warning for two-way binding on v-for alias

  • #1779 fix incorrect warning for v-ref on non-component elements

  • #1781 fix afterEnter hook firing before transition finishes

  • #1786 fix $event variable for v-on inline statement handlers with filters

  • #1791 avoid v-for re-rendering when using v-model on primitive values

下载页面:1.0.8

来自:http://www.oschina.net/news/68000/vue-js-1-0-8