Skip to content

Instantly share code, notes, and snippets.

View rdonnelly's full-sized avatar

Ryan Donnelly rdonnelly

View GitHub Profile
@rdonnelly
rdonnelly / shadows.js
Created January 2, 2017 23:02
Toggle shadow class on given image container
var
$ = require('jquery'),
_ = require('lodash'),
// for a given image container, toggle shadow class on left or right
// to indicate to the user that there is more the scroll to
toggleShadows = _.throttle(function() {
var
$this = $(this),
scrollPosition = $this.scrollLeft(),
@rdonnelly
rdonnelly / gist:36d6914d4590736b0ae8
Created September 22, 2014 21:35
Keybase.io Verification
### Keybase proof
I hereby claim:
* I am rdonnelly on github.
* I am rdonnelly (https://keybase.io/rdonnelly) on keybase.
* I have a public key whose fingerprint is D5B1 DA11 0D8D 8220 1C2F 6339 10A1 D124 C294 16BB
To claim this, I am signing this object: