This is the whole file, it's saying: Unused 'callback' which I'm not sure how to work around. Anyone got any ideas?
//////////////////////////////////////////////////////////////////////
/*global window, performance */
//////////////////////////////////////////////////////////////////////
window.requestAnimFrame = (function (callback) {
"use strict";
return window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
window.mozRequestAnimationFrame ||
window.oRequestAnimationFrame ||
window.msRequestAnimationFrame ||
function (callback) {
window.setTimeout(callback, 1000 / 60);
};
}());
//////////////////////////////////////////////////////////////////////
window.performance = window.performance || {};
performance.now = (function () {
"use strict";
return performance.now ||
performance.mozNow ||
performance.msNow ||
performance.oNow ||
performance.webkitNow ||
function () {
return new Date().getTime();
};
}());
//////////////////////////////////////////////////////////////////////