aboutsummaryrefslogtreecommitdiff
path: root/src/ui.js
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2018-05-15 21:20:00 -0500
committeroldmud0 <oldmud0@users.noreply.github.com>2018-05-15 21:20:00 -0500
commit5685e2b1714c8d85e505e9eccee549723773aaab (patch)
tree9cb8a263087218bcc84686f871cd6e70abdc673c /src/ui.js
parentc26ac0e636a71b850fa316f5bead6ba263b55492 (diff)
Move files to webAO folder; GoldenLayout works!
Diffstat (limited to 'src/ui.js')
-rw-r--r--src/ui.js38
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