<commit_before>(function(document, window, require) {
  'use strict';
  var baseUrl = document.getElementsByTagName('base')[0].getAttribute('app-root') +'/';
  var APP_NAME = 'cam.cockpit';
  baseUrl += 'app/cockpit/';
  var pluginPackages = window.PLUGIN_PACKAGES || [];
    require({
      baseUrl:    baseUrl + 'assets/vendor', // for dojo
      packages:   pluginPackages
    });

  var pluginDependencies = window.PLUGIN_DEPENDENCIES || [];
  var dependencies = [
      'angular',
      'angular-resource',
      'angular-sanitize',
      'angular-ui',
      'ngDefine',
      'jquery-ui/ui/jquery.ui.draggable']
  .concat(pluginDependencies.map(function(plugin) {
      return plugin.requirePackageName;
  }));

    require(dependencies, function(angular) {
      require([
        'camunda-cockpit-ui',
        'domReady!'
      ], function() {
        angular.bootstrap(document, [ APP_NAME ]);
        var html = document.getElementsByTagName('html')[0];

        html.setAttribute('ng-app', APP_NAME);
        if (html.dataset) {
          html.dataset.ngApp = APP_NAME;
        }

        if (top !== window) {
          window.parent.postMessage({ type: 'loadamd' }, '*');
        }
      });
  });<commit_msg>chore(bootstrap): load jquery before plugins<commit_after>(function(document, window, require) {
  'use strict';
  var baseUrl = document.getElementsByTagName('base')[0].getAttribute('app-root') +'/';
  var APP_NAME = 'cam.cockpit';
  baseUrl += 'app/cockpit/';
  var pluginPackages = window.PLUGIN_PACKAGES || [];
    require({
      baseUrl:    baseUrl + 'assets/vendor', // for dojo
      packages:   pluginPackages
    });

  var pluginDependencies = window.PLUGIN_DEPENDENCIES || [];
  var dependencies = [
      'angular',
      'angular-resource',
      'angular-sanitize',
      'angular-ui',
      'ngDefine',
      'jquery',
      'jquery-ui/ui/jquery.ui.draggable']
  .concat(pluginDependencies.map(function(plugin) {
      return plugin.requirePackageName;
  }));

    require(dependencies, function(angular) {
      require([
        'camunda-cockpit-ui',
        'domReady!'
      ], function() {
        angular.bootstrap(document, [ APP_NAME ]);
        var html = document.getElementsByTagName('html')[0];

        html.setAttribute('ng-app', APP_NAME);
        if (html.dataset) {
          html.dataset.ngApp = APP_NAME;
        }

        if (top !== window) {
          window.parent.postMessage({ type: 'loadamd' }, '*');
        }
      });
  });
{'fraction_non_alphanumeric': 0.15656362906463267, 'fraction_numerical': 0.0016057808109193096, 'mean_word_length': 2.6755162241887906, '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': '7539091', 'n_tokens_mistral': 791, 'n_tokens_neox': 767, 'n_words': 127}