Skip to content

Instantly share code, notes, and snippets.

@ryandao
ryandao / marquee.js
Created July 29, 2014 11:57
Javascript for simple marquee effect
var w = window,
d = document,
e = d.documentElement,
g = d.getElementsByTagName('body')[0],
windowX = w.innerWidth || e.clientWidth || g.clientWidth,
windowY = w.innerHeight|| e.clientHeight|| g.clientHeight;
function cumulativeOffsetLeft(el) {
var left = 0;
var get = Ember.get;
/**
@extends Ember.Mixin
Implements common pagination management properties for controllers.
*/
Ember.PaginationSupport = Ember.Mixin.create({
/**
*/