This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hello scala, my old friend | |
I've come to take you home again | |
Because a feature slowly creeping | |
left me plagued with doubts and weeping | |
and the version that was tagged in the repo | |
just has to go | |
it lacks the signs of soundness | |
On sleepless nights I hacked alone | |
applying ant and other tools of stone |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.setupDraggable = function setupDraggable(sendEvent) { | |
const BEACON_ATTRIBUTE = "data-beacon"; | |
const MINIMUM_DRAG_DISTANCE_PX = 10; | |
document.addEventListener("pointerdown", awaitDragStart); | |
function awaitDragStart(startEvent) { | |
document.addEventListener("pointermove", maybeDragMove); | |
document.addEventListener("pointerup", stopAwaitingDrag); |