Skip to content

Instantly share code, notes, and snippets.


Isaac Shapira Fresheyeball

View GitHub Profile
Fresheyeball / Shpa.hs
Last active Aug 26, 2020 — forked from abradley2/Shpa.hs
Being silly with Shpadoinkle
View Shpa.hs
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE OverloadedStrings #-}
module Main where
import Data.Text
import Shpadoinkle as S
import Shpadoinkle.Backend.ParDiff
View vertical-enable.iscroll.js
var point, pointStartX, pointStartY, deltaX, deltaY, isHorizontal;
var scroller = new iScroll('scrollerId', {
vScroll: false,
vScrollbar: false,
hScrollbar: false,
snap: 'li',
momentum: false,
onBeforeScrollStart: function(e) {
point = e.touches[0];
pointStartX = point.pageX;
You can’t perform that action at this time.