online/src/js/editors.js
function showResults () {
  var results = editors.results;

  setTimeout(function () {
    results[0].scrollIntoView();
    results.addClass("animated")
      .one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend", function () {
        // Remove the "animated" class when the animation ends,
        // so we can replay the animation again next time
        results.removeClass("animated");
      });
  });
}
function showResults () {
  var results = editors.results;

  setTimeout(function () {
    results[0].scrollIntoView();
    results.addClass("animated")
      .one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend", function () {
        // Remove the "animated" class when the animation ends,
        // so we can replay the animation again next time
        results.removeClass("animated");
      });
  });
}
function showResults ( ) { var results = editors . results ; setTimeout ( function ( ) { results [ 0 ] . scrollIntoView ( ) ; results . addClass ( "animated" ) . one ( "webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend" , function ( ) { // Remove the "animated" class when the animation ends, // so we can replay the animation again next time results . removeClass ( "animated" ) ; } ) ; } ) ; }
Ensures that the results are visible, and plays an animation to get the user's attention.
Ensures that the results are visible and plays an animation to get the user s attention .