<commit_before>;(function(angular) {
  'use strict';

  angular
    .module('condor.image')
    .directive('condorImageList', function() {
      return {
        restrict: 'EA',
        scope: {
          src: '=',
          x: '@',
          y: '@'
        },
        template:
          '<div class="row" ng-if="isArray">'+
            '<div class="col-lg-4 col-md-6 text-center" ng-repeat="image in src track by $index">'+
              '<div>'+
                '<div class="col-lg-12">'+
                  '<condor-image src="src[$index]" x="{{ x }}" y="{{ y }}" />'+
                '</div>'+
              '</div>'+
              '<div>'+
                '<div class="col-lg-12">'+
                  '<button type="button" ng-dblclick="removeImageAt($index)" class="btn btn-danger" style="margin-top: 8px;"><i class="fa fa-trash-o"></i>&nbsp;&nbsp;double click to delete</button>'+
                '</div>'+
              '</div>'+
            '</div>'+
          '</div>',
        controller: function($scope, $element, $attrs) {
          var unregisterListener = $scope.$watch('src', function(newVal, oldVal) {
            $scope.isArray = angular.isArray(newVal) ? true : false;
          });<commit_msg>redundancy<commit_after>;(function(angular) {
  'use strict';

  angular
    .module('condor.image')
    .directive('condorImageList', function() {
      return {
        restrict: 'EA',
        scope: {
          src: '=',
          x: '@',
          y: '@'
        },
        template:
          '<div class="row" ng-if="isArray">'+
            '<div class="col-lg-4 col-md-6" ng-repeat="image in src track by $index">'+
              '<div>'+
                '<div class="col-lg-12">'+
                  '<condor-image src="src[$index]" x="{{ x }}" y="{{ y }}" />'+
                '</div>'+
              '</div>'+
              '<div>'+
                '<div class="col-lg-12 text-center">'+
                  '<button type="button" ng-dblclick="removeImageAt($index)" class="btn btn-danger" style="margin-top: 8px;"><i class="fa fa-trash-o"></i>&nbsp;&nbsp;double click to delete</button>'+
                '</div>'+
              '</div>'+
            '</div>'+
          '</div>',
        controller: function($scope, $element, $attrs) {
          var unregisterListener = $scope.$watch('src', function(newVal, oldVal) {
            $scope.isArray = angular.isArray(newVal) ? true : false;
          });
{'fraction_non_alphanumeric': 0.20371134020618556, 'fraction_numerical': 0.00577319587628866, 'mean_word_length': 1.7474518686296716, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, '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': '3621950', 'n_tokens_mistral': 741, 'n_tokens_neox': 752, 'n_words': 142}