Chris MacDonald
Chris MacDonald

Reputation: 6126

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

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

Upvotes: 4

Views: 948

Answers (1)

philistyne
philistyne

Reputation: 652

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.

Upvotes: 5

Related Questions