MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / setCurrentVersion

Function setCurrentVersion

examples/js/common.js:39–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37
38 //设置头部版本号
39 function setCurrentVersion() {
40 var version = getVersion();
41 if (!version && window.preRelease) {
42 version = window.preRelease;
43 }
44 var versionText = version ? "" + version : " ";
45 $('#version').html(versionText);
46 }
47
48 function getVersion() {
49 var pathname = window.location.pathname.replace("/en/", "/");

Callers 1

onLoadCallBackFunction · 0.85

Calls 2

getVersionFunction · 0.85
$Function · 0.50

Tested by

no test coverage detected