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