如何在OpenSocial应用程序中使用CDN的DOJO? [英] How can we use DOJO from CDN in OpenSocial App?
本文介绍了如何在OpenSocial应用程序中使用CDN的DOJO?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在OpenSocial应用程序中使用CDN中的DOJO?
How can we use DOJO from CDN in OpenSocial App?
推荐答案
可以在OpenSocial应用程序中完成吗?从常见问题– OpenSocial :
Can it be done in OpenSocial Apps? From Frequently Asked Questions – OpenSocial:
我可以使用什么其他JavaScript库?
What other JavaScript libraries can I use?
所有这些! Dojo,Prototype,JQuery,GWT等。
All of them! Dojo, Prototype, JQuery, GWT, etc.
正如你所看到的那样,Dojo被明确提及。
As you can see Dojo is mentioned explicitly.
您可以使用HTML代码段中的脚本标记将其包含为常规Dojo。唯一的区别是模块异步加载文档中涵盖。
You can include it using a script tag in your HTML snippet as regular Dojo. The only difference is that modules are loaded asynchronously — it is covered in the docs.
这篇关于如何在OpenSocial应用程序中使用CDN的DOJO?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文