Some cleanup
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
const svgns = "http://www.w3.org/2000/svg",
|
||||
selectedClass = 'selected';
|
||||
const selectedClass = 'selected';
|
||||
|
||||
function dataSelector({ dataset: { allegiance, number }}) {
|
||||
return `[data-number="${number}"][data-allegiance="${allegiance}"]`;
|
||||
|
||||
@@ -4,8 +4,7 @@
|
||||
// cancels out, leaving us with a unitless ratio of sqrt(3) / (3 / 2), or
|
||||
// 2 * sqrt(3) / 3.
|
||||
|
||||
const svgns = "http://www.w3.org/2000/svg",
|
||||
horzToVertDistRatio = 2 * Math.sqrt(3) / 3,
|
||||
const horzToVertDistRatio = 2 * Math.sqrt(3) / 3,
|
||||
|
||||
arcSize = {
|
||||
'small': Math.atan(horzToVertDistRatio / 6),
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
const svgns = "http://www.w3.org/2000/svg",
|
||||
targetClassName = 'sight-line-target',
|
||||
const targetClassName = 'sight-line-target',
|
||||
activeClassName = 'active';
|
||||
|
||||
function evenr_to_axial(x, y) {
|
||||
|
||||
Reference in New Issue
Block a user