chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d3ee87
)
wip, now g
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 7 Jun 2020 20:57:45 +0000
(21:57 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 7 Jun 2020 20:57:45 +0000
(21:57 +0100)
templates/test.html
patch
|
blob
|
history
diff --git
a/templates/test.html
b/templates/test.html
index c16a284f94afb17083cd4fb828cf77d33af05411..49f5876d5bc731f5dd231e4f82b857a1e6f0d8e9 100644
(file)
--- a/
templates/test.html
+++ b/
templates/test.html
@@
-11,13
+11,14
@@
<rect fill="green" x="42" y="56" width="100" height="80"/>
<use href="#piece42"
x="50" y="80"
- onmousedown="drag_mousedown(event)"
- />
+ onmousedown="drag_mousedown(event)"/>
<defs>
- <circle
- id="piece42"
- cx="0" cy="0"
- fill="red" r="10"/>
+ <g id="piece42">
+ <circle
+ cx="0" cy="0"
+ fill="red" r="10"
+ />
+ </g>
</defs>
</svg>
<script src="script.js"></script>