How do I run both Dojo 1.7 and Dojo 1.6?

Dojo 1.6 and dojo 1.7 can be downloaded from the same page? I've seen examples of downloading two versions before 1.7 and different versions 1.7, but nothing that mixes 1.6 with 1.7. Looking for something like http://jsfiddle.net/neonstalwart/44e56/ but with 1.6 and 1.7.

+3


source to share


2 answers


The Dojo 1.7 loader supports the legacy Dojo 1.6 syntax (dojo.require / dojo.provides) along the side of the new define (). You can easily do this in synchronous mode (Dojo does not have the full benefit of using asynchronous I / O) or in various other modes mentioned in the documentation. You don't need to place two copies of Dojo on your page.



+1


source


Dojo 1.7 supports both the old and new 1.7 for creating your own widgets.



0


source







All Articles