Reputation: 4951
I have a copy of Dojo framework but i am not sure which version it is. How can you tell? Surely it must be set as a value in it somewhere. My downloaded folder looks like this:
dojo\
dijit\
dojo\
dojox\
util\
Upvotes: 1
Views: 3007
Reputation: 43956
dojo.version
will give you the details of the exact version you're using.
Here is an example of the output:
>>> dojo.version;
0.0.0dev (15278) major=0 minor=0 patch=0 flag=dev revision=15278
>>> dojo.version.toString();
"0.0.0dev (15278)"
Upvotes: 3
Reputation: 1
Following on from JW's answer above, it look like in Dojo 1.8 and 1.9 the dojo.version property is set in
dojo/_base/kernel.js
Look for the line starting with:
dojo.version =
Upvotes: 5