我只是想知道是否有一个新的方式在清单2重写这样的示例应用程序。谷歌浏览器扩展清单2更新
http://developer.chrome.com/extensions/samples.html#4e35caa9742fb82dbd628892d23a781614f6eff6
我开始这个转变成一个清单2应用程序,并遇到了一些问题。
bgPage.oauth.authorize(function() {
Uncaught TypeError: Cannot call method 'authorize' of undefined
if (!bgPage.docs.length) {
gdocs.getDocumentList();
} else {
gdocs.renderDocList();
}
util.scheduleRequest();
});
bgPage.oauth.sendSignedRequest(url, gdocs.processDocListResults, params);
由于manifest2中的某些原因,bgPad.oauth调用不再有效。
有没有办法让这项工作再次?
什么错误您在控制台中看到 – apsillers 2012-08-14 17:20:30
遗漏的类型错误:无法调用‘授权’的未定义 – Blynn 2012-08-14 17:22:20