<commit_before>'use strict';
angular.module('genie.socialSandbox')
.directive('socialSandbox', ['$window',
  function($window) {

  function link(scope, elem, attrs) {
    resize(elem);
  }

  function resize(elem) {
    var $win = $($window);
    var $iframe = $(elem.children()[0]);
    var doResize = function() {
      var winHeight = $win.height();
      $iframe.height(winHeight * 0.8);
    };

    $win.bind('resize', _.throttle(doResize, 33.33)).resize();
  }
  return {
    restrict: 'E',
    link: link,
    templateUrl: 'modules/social-sandbox/views/social-sandbox'
  };
}]);<commit_msg>taller sandbox iframe<commit_after>'use strict';
angular.module('genie.socialSandbox')
.directive('socialSandbox', ['$window',
  function($window) {

  function link(scope, elem, attrs) {
    resize(elem);
  }

  function resize(elem) {
    var $win = $($window);
    var $iframe = $(elem.children()[0]);
    var doResize = function() {
      var winHeight = $win.height();
      $iframe.height(winHeight * 0.91);
    };

    $win.bind('resize', _.throttle(doResize, 33.33)).resize();
  }
  return {
    restrict: 'E',
    link: link,
    templateUrl: 'modules/social-sandbox/views/social-sandbox'
  };
}]);
{'fraction_non_alphanumeric': 0.187551867219917, 'fraction_numerical': 0.012448132780082987, 'mean_word_length': 3.5168539325842696, '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': '4941729', 'n_tokens_mistral': 440, 'n_tokens_neox': 416, 'n_words': 76}