Skip to content

Instantly share code, notes, and snippets.

@carpeliam
Last active April 1, 2019 16:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carpeliam/edfc8a43f962d7a29957c8efba963df4 to your computer and use it in GitHub Desktop.
Save carpeliam/edfc8a43f962d7a29957c8efba963df4 to your computer and use it in GitHub Desktop.
Run a raptor across the screen whenever your build is triggered.
(function() {
$.browser = {mozilla: false, webkit: false};
$('<script>').attr('src', 'https://cdn.jsdelivr.net/gh/davesierra/raptorize@master/jquery.raptorize.1.0.js').appendTo('body');
setInterval(function() {
if ($('.pipeline-graph .started').length) {
$(window).raptorize({enterOn: 'timer', delayTime: 0});
}
}, 15000);
}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment