GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 36-36 lines in 2 locations

third-party/angularjs-modules-plugins/UI-Bootstrap/ui-bootstrap-tpls-1.3.2.js 1 location

@@ 3332-3367 (lines=36) @@
3329
  };
3330
})
3331
3332
.directive('uibDropdownToggle', function() {
3333
  return {
3334
    require: '?^uibDropdown',
3335
    link: function(scope, element, attrs, dropdownCtrl) {
3336
      if (!dropdownCtrl) {
3337
        return;
3338
      }
3339
3340
      element.addClass('dropdown-toggle');
3341
3342
      dropdownCtrl.toggleElement = element;
3343
3344
      var toggleDropdown = function(event) {
3345
        event.preventDefault();
3346
3347
        if (!element.hasClass('disabled') && !attrs.disabled) {
3348
          scope.$apply(function() {
3349
            dropdownCtrl.toggle();
3350
          });
3351
        }
3352
      };
3353
3354
      element.bind('click', toggleDropdown);
3355
3356
      // WAI-ARIA
3357
      element.attr({ 'aria-haspopup': true, 'aria-expanded': false });
3358
      scope.$watch(dropdownCtrl.isOpen, function(isOpen) {
3359
        element.attr('aria-expanded', !!isOpen);
3360
      });
3361
3362
      scope.$on('$destroy', function() {
3363
        element.unbind('click', toggleDropdown);
3364
      });
3365
    }
3366
  };
3367
});
3368
3369
angular.module('ui.bootstrap.stackedMap', [])
3370
/**

third-party/angularjs-modules-plugins/UI-Bootstrap/ui-bootstrap-1.3.2.js 1 location

@@ 3331-3366 (lines=36) @@
3328
  };
3329
})
3330
3331
.directive('uibDropdownToggle', function() {
3332
  return {
3333
    require: '?^uibDropdown',
3334
    link: function(scope, element, attrs, dropdownCtrl) {
3335
      if (!dropdownCtrl) {
3336
        return;
3337
      }
3338
3339
      element.addClass('dropdown-toggle');
3340
3341
      dropdownCtrl.toggleElement = element;
3342
3343
      var toggleDropdown = function(event) {
3344
        event.preventDefault();
3345
3346
        if (!element.hasClass('disabled') && !attrs.disabled) {
3347
          scope.$apply(function() {
3348
            dropdownCtrl.toggle();
3349
          });
3350
        }
3351
      };
3352
3353
      element.bind('click', toggleDropdown);
3354
3355
      // WAI-ARIA
3356
      element.attr({ 'aria-haspopup': true, 'aria-expanded': false });
3357
      scope.$watch(dropdownCtrl.isOpen, function(isOpen) {
3358
        element.attr('aria-expanded', !!isOpen);
3359
      });
3360
3361
      scope.$on('$destroy', function() {
3362
        element.unbind('click', toggleDropdown);
3363
      });
3364
    }
3365
  };
3366
});
3367
3368
angular.module('ui.bootstrap.stackedMap', [])
3369
/**