bootstrap.js 这个文件里有段代码说明dojo版本的代码,你确定能明确它的意图
<!-- lang: js --> var rev = "$Rev: 23917 $".match(/\d+/); dojo.version = { major: 1,minor: 6,patch: 0,flag: "",revision: rev ? +rev[0] : NaN,toString: function(){ with(d.version){ return major + "." + minor + "." + patch + flag + " (" + revision + ")"; // String } } }原文链接:https://www.f2er.com/dojo/291497.html