MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / initSideBar

Function initSideBar

examples/js/editor.js:39–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37}
38
39function initSideBar() {
40 var config = exampleConfig;
41 var sideBar = $("ul#sidebar-menu");
42 for (var key in config) {
43 if (typeof config[key] === 'object' && config[key] !== null) {
44 sideBar.append(createSideBarMenuItem(key, config[key], containExamples));
45 }
46 }
47 $(sideBar).ready(function () {
48 initSelect();
49 });
50
51}
52
53function screenResize() {
54 window.onresize = function () {

Callers 1

initPageFunction · 0.70

Calls 3

createSideBarMenuItemFunction · 0.85
initSelectFunction · 0.70
$Function · 0.50

Tested by

no test coverage detected