Skip to content

Commit 7df6f3b

Browse files
authored
update test widgets file (#168)
1 parent 6478bdc commit 7df6f3b

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

test/test_widgets.jl

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
using InteractBase, Colors
2-
using CSSUtil
3-
using InteractBulma, Blink
4-
using Widgets
5-
settheme!(Bulma())
6-
using WebIO
1+
using Interact, Blink, Colors
2+
73
w = Window()
84

95
#---
@@ -65,7 +61,6 @@ v = toggles(["A", "B", "C"], className="is-danger");
6561
body!(w, v)
6662
observe(v)
6763
#---
68-
using WebIO, Blink, Observables
6964

7065
width, height = 700, 300
7166
colors = ["black", "gray", "silver", "maroon", "red", "olive", "yellow", "green", "lime", "teal", "aqua", "navy", "blue", "purple", "fuchsia"]
@@ -88,7 +83,7 @@ body!(w, ui)
8883
opentools(w)
8984
#---
9085

91-
using InteractBase, Plots, CSSUtil, DataStructures
86+
using Plots, DataStructures
9287

9388
x = y = 0:0.1:30
9489

@@ -120,5 +115,5 @@ ui = s
120115
display(ui);
121116
# Mux
122117
using Mux
123-
webio_serve(page("/", req -> ui))
118+
WebIO.webio_serve(page("/", req -> ui))
124119
#---

0 commit comments

Comments
 (0)