简体   繁体   中英

Ember.js ArrayController usage

How i can use ArrayController in Ember.js 1.0pre?

From documentation:

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

raises this:

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

If i replace create with extend , it rises:

TypeError: b.addArrayObserver is not a function

Thanks!

Please make sure, that you've added jquery 1.7.x as well. Ember depends on it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM