Vue.js 1.0.4 发布,此版本更新内容如下:
新特性
Better warning for ignored attributes on fragment instances.
改进
Custom directives now have a default priority of 1000. This should make it be bound before most of the built-in directives (except components, partials, slots and flow-controls, of course). This is part of the fix for custom directive dynamic params and should not break existing usage.
Bug 修复
Fixed dynamic params for custom directives not working properly. (@kazupon)
v-for context can now properly access parent scope's $els and $refs. (@TerenceZ)
v-bind on object and v-bind:class on object are now in deep mode as expected.
#1656 Fixed v-on filters not applied in correct scope when used with inline statements.
下载:https://github.com/vuejs/vue/archive/1.0.4.zip。
Vue.js 是构建 Web 界面的 JavaScript 库,提供数据驱动的组件,还有简单灵活的 API,使得 MVVM 更简单。
主要特性:
可扩展的数据绑定
将普通的 JS 对象作为 model
简洁明了的 API
组件化 UI 构建
配合别的库使用
支持的浏览器:https://saucelabs.com/u/vuejs
来自:开源中国社区