Ember是一个雄心勃勃的Web应用程序,消除了样板,并提供了一个标准的应用程序架构的JavaScript框架。
Ember.js 1.0 RC3 发布了,比起 RC2 版本,RC3 在性能又进一步提升,同时还包含如下改进:
- When adjacent child views are scheduled for insertion they are are now batched together, and inserted together rather then one at a time.
- Object deletion is now async, this prevents un-needed churn when destroying large interconnected object graphs.
- The number of objects allocated during view rendering has been cut down.
示例代码:
01 |
MyApp.president = Ember.Object.create({ |
05 |
fullName: function() {
|
06 |
return this.get('firstName') + ' ' + this.get('lastName');
|
10 |
}.property('firstName', 'lastName')
|
相关文章:
-
2021-12-09
-
2021-10-11
-
2021-04-18
-
2021-07-31
-
2021-07-24
-
2022-12-23
-
2021-06-10