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。Ember取决于它。

最新更新