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

Function themeNameFromFile

codebase/sources/dhtmlxscheduler.js:7475–7483  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

extend$3Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected