Skip to content

Instantly share code, notes, and snippets.

Avatar

Edward Barboza edwardbc

View GitHub Profile
@edwardbc
edwardbc / visibly.js
Last active Dec 11, 2015 — forked from addyosmani/visibly.js
- Updated with 'moz' prefix and a proper prefix verification method. - Added a callback cleaning method.
View visibly.js
/*!
* isVis - v0.5.6 Jan 2013 - Page Visibility API Polyfill
* Copyright (c) 2013 Addy Osmani
* Dual licensed under the MIT and GPL licenses.
*/
(function () {
window.visibly = {
b: null,
q: document,