Dojo version?

I was wondering, which version of dojo are you using for mendix? Since dojo.version returns 2.5 my guess is that this is the mendix version ;]
1 answers

The Mendix client is build on Dojo 1.3.1.

Side note: When building a widget, you first check if there is a Mendix implementation for what you are trying to do before you try it with Dojo. Although they will all work, the Mendix functions are specifically designed to work with the Mendix client, while the Dojo functions might ignore these.

For example the dojo.connect(), it does the same as a this.connect(), but the dojo version needs to be stored and disconnected using dojo.disconnect() in the uninitialize(), where this.connect() is automagically removed by the Client.