Can I change the Dojo namespace to something other than dojo?

你说的曾经没有我的故事 提交于 2019-12-10 16:59:30

问题


I know you can do it for jQuery using jQuery.noConflict. Is there a way to do something similar with Dojo?


回答1:


I believe you can. See this page about running more than one version of Dojo on a page. It's fiddly, but seems to be what you're looking for.

In general, both Dojo and jQuery have been quite careful not to clobber each other's or anyone else's variable names.



来源:https://stackoverflow.com/questions/247085/can-i-change-the-dojo-namespace-to-something-other-than-dojo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!