<commit_before>'use strict';

var angular = require('camunda-bpm-sdk-js/vendor/angular'),
    email = require('./email'),
    engineSelect = require('./engineSelect'),
    autoFill = require('./autoFill'),
    inPlaceTextField = require('./inPlaceTextField'),
    notificationsPanel = require('./notificationsPanel'),
    passwordRepeat = require('./passwordRepeat'),
    showIfAuthorized = require('./showIfAuthorized'),
    compileTemplate = require('./compileTemplate'),
    nl2br = require('./nl2br'),
    instantTypeahead = require('./instantTypeahead'),
    util = require('../util/index');

require('../../vendor/ui-bootstrap-tpls-2.5.0-camunda');


var directivesModule = angular.module('camunda.common.directives', [
  'ui.bootstrap',
  util.name
]);

directivesModule.directive('email',               email);
directivesModule.directive('autoFill',            autoFill);
directivesModule.directive('engineSelect',        engineSelect);
directivesModule.directive('camInPlaceTextField', inPlaceTextField);
directivesModule.directive('notificationsPanel',  notificationsPanel);
directivesModule.directive('passwordRepeat',      passwordRepeat);
directivesModule.directive('showIfAuthorized',    showIfAuthorized);
directivesModule.directive('compileTemplate',     compileTemplate);
directivesModule.directive('nl2br',               nl2br);
directivesModule.directive('instantTypeahead',    instantTypeahead);

directivesModule.config([
  '$uibModalProvider',
  '$uibTooltipProvider',
  function(
  $modalProvider,
  $tooltipProvider
) {
    $modalProvider.options = {
      backdrop:     true, //can be also false or 'static'
      keyboard:     true
    };

    $tooltipProvider.options({
      animation:    true,
      popupDelay:   100,
      appendToBody: true
    });
  }]);


module.exports = directivesModule;<commit_msg>chore(webapps): animate modals by default<commit_after>'use strict';

var angular = require('camunda-bpm-sdk-js/vendor/angular'),
    email = require('./email'),
    engineSelect = require('./engineSelect'),
    autoFill = require('./autoFill'),
    inPlaceTextField = require('./inPlaceTextField'),
    notificationsPanel = require('./notificationsPanel'),
    passwordRepeat = require('./passwordRepeat'),
    showIfAuthorized = require('./showIfAuthorized'),
    compileTemplate = require('./compileTemplate'),
    nl2br = require('./nl2br'),
    instantTypeahead = require('./instantTypeahead'),
    util = require('../util/index');

require('../../vendor/ui-bootstrap-tpls-2.5.0-camunda');


var directivesModule = angular.module('camunda.common.directives', [
  'ui.bootstrap',
  util.name
]);

directivesModule.directive('email',               email);
directivesModule.directive('autoFill',            autoFill);
directivesModule.directive('engineSelect',        engineSelect);
directivesModule.directive('camInPlaceTextField', inPlaceTextField);
directivesModule.directive('notificationsPanel',  notificationsPanel);
directivesModule.directive('passwordRepeat',      passwordRepeat);
directivesModule.directive('showIfAuthorized',    showIfAuthorized);
directivesModule.directive('compileTemplate',     compileTemplate);
directivesModule.directive('nl2br',               nl2br);
directivesModule.directive('instantTypeahead',    instantTypeahead);

directivesModule.config([
  '$uibModalProvider',
  '$uibTooltipProvider',
  function(
  $modalProvider,
  $tooltipProvider
) {
    $modalProvider.options = {
      animation:    true,
      backdrop:     true, //can be also false or 'static'
      keyboard:     true
    };

    $tooltipProvider.options({
      animation:    true,
      popupDelay:   100,
      appendToBody: true
    });
  }]);


module.exports = directivesModule;
{'fraction_non_alphanumeric': 0.14143853998926462, 'fraction_numerical': 0.005367686527106817, 'mean_word_length': 4.147790055248619, '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': '2451094', 'n_tokens_mistral': 1041, 'n_tokens_neox': 1016, 'n_words': 163}