Ember.js 1.0 RC6 发布,JavaScript 框架

Ember.js 1.0 发布了第 6 个 RC 版本,下载地址:https://github.com/emberjs/ember.js/tree/v1.0.0-rc.6

该版本包含众多的改进记录,详情请看 changelog

Ember是一个雄心勃勃的Web应用程序,消除了样板,并提供了一个标准的应用程序架构的JavaScript框架。

01 MyApp.president = Ember.Object.create({
02   firstName: "Barack",
03   lastName: "Obama",
04  
05   fullName: function() {
06     return this.get('firstName') + ' ' + this.get('lastName');
07  
08   // Tell Ember that this computed property depends on firstName
09   // and lastName
10   }.property('firstName', 'lastName')
11 });
原文地址:https://www.cnblogs.com/shihao/p/3153539.html