【发布时间】:2013-03-16 14:14:04
【问题描述】:
无法调用未定义 app.js:1 的方法“子字符串”
我在基于 sencha doc 上的 building your first app 教程的 sencha touch 应用程序的构建包版本上收到此错误。普通版运行得很好,但是在构建时我只是蓝屏。当我为嵌套列表注释与代理相关的行时,构建的版本运行良好。
proxy: {
type: 'jsonp',
url: 'https://ajax.googleapis.com/ajax/services/feed/load?v=1.0&q=http://feeds.feedburner.com/SenchaBlog',
reader: {
type: 'json',
rootProperty: 'responseData.feed.entries'
}
}
已解决
大多数网站声称这是因为 xtype 写得不好 (example),但在这种情况下,这是由于缺少对 JsonP、NestedList 等内容的明确要求。
【问题讨论】:
标签: javascript extjs sencha-touch-2 jsonp