簡體   English   中英

Ember.js ArrayController用法

[英]Ember.js ArrayController usage

我如何在Ember.js 1.0pre中使用ArrayController?

來自文檔:

MyApp.listController = Ember.ArrayController.create();

提出這個:

TypeError: a[c].create is not a function

如果我用extend替換create ,它會上升:

TypeError: b.addArrayObserver is not a function

謝謝!

請確保您已經添加了jquery 1.7.x. 灰燼取決於它。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM