UNPKG

@omni-door/tpl-component-library-react

Version:
9 lines (8 loc) 620 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var utils_1 = require("@omni-door/utils"); var tpl = "`<script>\nvar title = '${project_name}';\ndocument.title = title;\nvar observer = new MutationObserver(function(mutations) {\n if (document.title.match(/Storybook$/) && title !== document.title) {\n document.title = title;\n }\n}).observe(document.querySelector('title'), {\n childList: true,\n subtree: true,\n characterData: true\n});\n</script>\n`"; exports.tpl_storybook_mhead = { tpl: tpl }; exports.default = utils_1.tpl_engine_init(exports.tpl_storybook_mhead, 'tpl');