mirror of
https://github.com/getredash/redash.git
synced 2026-05-08 18:02:18 -04:00
* Prettier all the JS files * Add GitHub Action to autoformat code pushed to master * Fix eslint violation due to formatting. * Remove GitHub actions for styling * Add restyled.io config
13 lines
351 B
JavaScript
13 lines
351 B
JavaScript
import debug from "debug";
|
|
|
|
export const logger = debug("redash:directives");
|
|
|
|
export const requestAnimationFrame =
|
|
window.requestAnimationFrame ||
|
|
window.webkitRequestAnimationFrame ||
|
|
window.mozRequestAnimationFrame ||
|
|
window.msRequestAnimationFrame ||
|
|
function requestAnimationFrameFallback(callback) {
|
|
setTimeout(callback, 10);
|
|
};
|