index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'src/index.js.test')
-rw-r--r-- | src/index.js.test | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/index.js.test b/src/index.js.test deleted file mode 100644 index f420f22..0000000 --- a/src/index.js.test +++ /dev/null @@ -1,13 +0,0 @@ -const svgns = 'http://www.w3.org/2000/svg'; -const [icon, use] = ['svg', 'use'].map(t => document.createElementNS(svgns, t)); - -icon.setAttributeNS(null, 'viewBox', '-6 -6 12 12'); -icon.setAttribute('xmlns', svgns); -icon.classList.add('weapon-icon'); - -// use.setAttributeNS(null, 'href', `assets/images/counters.svg#rifle`); -use.setAttributeNS(null, 'href', `assets/images/counters2.svg#smg`); - -icon.appendChild(use); - -document.querySelector('body').appendChild(icon); |