madprocessor
madprocessor

Reputation: 41

2 versions of Dojo on one page

I need to run 2 versions of Dojo on the same page. There is some old code acessing dojo with the typical dojo.byId etc. this should stay. I wan't to use the latest version for my development. Can anyone help me with the syntax for the package. So that I can use myDojo or myDijit or myDojoX ?

Upvotes: 0

Views: 92

Answers (1)

Craig Swing
Craig Swing

Reputation: 8162

The following should help with getting two versions running on a page.

http://dojotoolkit.org/reference-guide/1.10/quickstart/multiversion.html

However, the reason you stated in the question to run two versions is not valid. dojo.byIdand other non-AMD methods, such as dojo.addClass, dijit.byId are still supported in 1.9.

Upvotes: 2

Related Questions