Skip to content

Commit 9e244ad

Browse files
committed
Remove boxy_counter example.
1 parent 134648a commit 9e244ad

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

hyperdiv_docs/code_examples.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import re
22
from textwrap import dedent as dedent_text
33
import hyperdiv as hd
4-
from .demos.counter_plugin import counter, boxy_counter
4+
from .demos.counter_plugin import counter
55
from .demos.leaflet_plugin import leaflet
66

77

@@ -70,7 +70,6 @@ def code_example(code, code_to_execute=None):
7070
globals(),
7171
dict(
7272
counter=counter,
73-
boxy_counter=boxy_counter,
7473
leaflet=leaflet,
7574
),
7675
)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
from .counter import counter, boxy_counter
1+
from .counter import counter

hyperdiv_docs/demos/counter_plugin/counter.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,7 @@
33

44

55
class counter(hd.Plugin):
6-
_name = "counter"
76
_assets_root = os.path.join(os.path.dirname(__file__), "assets")
87
_assets = ["*"]
98

109
count = hd.Prop(hd.Int, 0)
11-
12-
13-
class boxy_counter(counter, hd.Boxy):
14-
_classes = ["box"]

0 commit comments

Comments
 (0)