2
我正在嘗試Sencha Touch應用程序中的DeftJS框架。Sencha Touch + DeftJS
但我在執行最新版本的煩惱(0.6.5) 當它在下面幾行:
classDefinition = Ext.ClassManager.get(this.getClassName());
其中
this.getClassName() outputs "TimeSheetApp.store.TotalActualStore"
因此用下面的
if (classDefinition.singleton)
引發此異常:
Uncaught TypeError: Cannot read property 'singleton' of null
任何想法我在這裏做錯了嗎?
Ext.require()正是我所需要的。 –