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

Function initSelect

examples/js/example.js:36–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34
35//初始化页面第一次加载
36function initSelect() {
37 var hash = window.location.hash;
38 if (hash.indexOf("#") === -1) {
39 var id = $('#sidebar li').first().children('a')[0].hash;
40
41 window.location.hash = (id) ? id : window.location.hash;
42 }
43 scroll();
44}
45
46
47//初始化示例面板

Callers 1

initPageFunction · 0.70

Calls 4

scrollFunction · 0.85
indexOfMethod · 0.80
childrenMethod · 0.80
$Function · 0.50

Tested by

no test coverage detected