Skip to content

Instantly share code, notes, and snippets.

@poteto
Created April 17, 2015 21:43
Show Gist options
  • Save poteto/ee739ab49344fc57c8dc to your computer and use it in GitHub Desktop.
Save poteto/ee739ab49344fc57c8dc to your computer and use it in GitHub Desktop.
const {
get,
set,
setProperties,
computed,
run,
on,
$,
} = Ember;
const {
scheduleOnce,
debounce,
bind,
next
} = run;
const { not } = computed;
const { forEach } = Ember.EnumerableUtils;
const listeners = [
{ context: window, event: 'scroll.scrollable' },
{ context: window, event: 'resize.resizable' },
{ context: document, event: 'touchmove.scrollable' }
];
let rAFIDS = {};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment