diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui.js | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/ui.js b/src/ui.js deleted file mode 100644 index ecbdb45..0000000 --- a/src/ui.js +++ /dev/null @@ -1,38 +0,0 @@ -import GoldenLayout from "./golden/js/goldenlayout.js"; - -var config = { - settings: { - showPopoutIcon: false - }, - content: [ - { - type: "row", - content: [ - { - type: "component", - componentName: "template", - componentState: { id: "client_wrapper" } - }, - { - type: "column", - content: [ - { - type: "component", - componentName: "template", - componentState: { id: "ooc" } - }, - { - type: "component", - componentName: "template", - componentState: { id: "music" } - }] - }] - }] -}; - -var golden = new GoldenLayout(config); -golden.registerComponent("template", function(container, componentState) { - container.getElement().html(document.querySelector("#" + componentState.id).content); -}); -golden.init(); -console.log("initializing");
\ No newline at end of file |
