MCPcopy Create free account
hub / github.com/DHTMLX/scheduler / themeNameFromFile

Function themeNameFromFile

codebase/sources/dhtmlxscheduler.es.js:7471–7479  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7469 }
7470 };
7471 function themeNameFromFile() {
7472 var links = document.getElementsByTagName("link");
7473 for (var i = 0; i < links.length; i++) {
7474 var res = links[i].href.match("dhtmlxscheduler_([a-z]+).css");
7475 if (res) {
7476 return res[1];
7477 }
7478 }
7479 }
7480 scheduler2._build_skin_info = function() {
7481 monitorThemeChange();
7482 const styles = getComputedStyle(this.$container);

Callers 1

extend$3Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected