<commit_before>app.directive('fullScreen', function () {
  return {
    restrict: 'A',
    link: function (scope, element) {
      var fullScreen = false;

      var progressFunc = function () {
        fixToolbarWidth();
        $('.rnr-body').trigger('scroll');
      };
      var completeFunc = function () {
        $('.rnr-body').trigger('scroll');
      };

      element.click(function () {
        fullScreen = !fullScreen;
        element.find('i').toggleClass('icon-resize-full icon-resize-small');
        angular.element(window).scrollTop(0);
        if (!$.browser.msie) {
          fullScreen ? angular.element('.toggleFullScreen').slideUp({'duration': 'slow', 'progress': progressFunc, complete: completeFunc}) :
            angular.element('.toggleFullScreen').slideDown({ 'duration': 'slow', 'progress': progressFunc, complete: completeFunc});
        }
        else {
          fullScreen ? angular.element('.toggleFullScreen').hide() : angular.element('.toggleFullScreen').show();
        }
        fullScreen ? angular.element('.print-button').css('opacity', '1.0') : angular.element('.print-button').css('opacity', '0');
      });
    }
  };
});<commit_msg>#1111 | Jagat | IE fix for fullscreen<commit_after>app.directive('fullScreen', function () {
  return {
    restrict: 'A',
    link: function (scope, element) {
      var fullScreen = false;

      var progressFunc = function () {
        fixToolbarWidth();
        $('.rnr-body').trigger('scroll');
      };
      var completeFunc = function () {
        $('.rnr-body').trigger('scroll');
      };

      element.click(function () {
        fullScreen = !fullScreen;
        element.find('i').toggleClass('icon-resize-full icon-resize-small');
        angular.element(window).scrollTop(0);
        if (!$.browser.msie) {
          fullScreen ? angular.element('.toggleFullScreen').slideUp({'duration': 'slow', 'progress': progressFunc, complete: completeFunc}) :
            angular.element('.toggleFullScreen').slideDown({ 'duration': 'slow', 'progress': progressFunc, complete: completeFunc});
        }
        else {
          fullScreen ? angular.element('.toggleFullScreen').hide() : angular.element('.toggleFullScreen').show();
          $('.rnr-body').trigger('scroll');
        }
        fullScreen ? angular.element('.print-button').css('opacity', '1.0') : angular.element('.print-button').css('opacity', '0');
      });
    }
  };
});
{'fraction_non_alphanumeric': 0.183993399339934, 'fraction_numerical': 0.0049504950495049506, 'mean_word_length': 2.8987138263665595, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5109626', 'n_tokens_mistral': 671, 'n_tokens_neox': 663, 'n_words': 110}