<commit_before>// # camunda-commons-ui
// @name camunda-commons-ui
//
// This file is an entry point for modules which depends on
// camunda-commons-ui to get the libraries

/* jshint node: true */
'use strict';
var _ = require('lodash');


// ## requirejs
// @name camunda-commons-ui.requirejs
//
// This function is aimed to provide a common (but overridable)
// configuration for grunt require.js tasks.
//
// @param options
// @param options.pathPrefix should be the path to
//                           camunda-commons-ui relative from
//                           the project running the grunt task
function requirejsConf(options) {
  options = options || {};

  if (typeof options.pathPrefix === 'undefined') {
    options.pathPrefix = '../node_modules/camunda-commons-ui';
  }

  var conf = {
    stubModules: [
      'text'
    ],

    paths: {
      'camunda-commons-ui':         'lib',

      // #### npm dependencies
      'angular-data-depend':        'node_modules/angular-data-depend/src/dataDepend',
      'angular-translate':          'node_modules/angular-translate/dist/angular-translate',
      'angular-moment':             'node_modules/angular-moment/angular-moment',
      'camunda-bpm-sdk-js':         'node_modules/camunda-bpm-sdk-js/dist/camunda-bpm-sdk-angular',
      jquery:                       'node_modules/jquery/dist/jquery',
      moment:                       'node_modules/moment/moment',
      requirejs:                    'node_modules/requirejs/require',
      ngDefine:                     'node_modules/requirejs-angular-define/dist/ngDefine',
      text:                         'node_modules/requirejs-text/text',
      lodash:                       'node_modules/lodash/lodash',
      sax:                          'node_modules/sax/lib/sax',

      // #### vendor dependencies
      angular:                      'vendor/angular',
      'angular-animate':            'vendor/angular-animate',
      'angular-cookies':            'vendor/angular-cookies',
      'angular-loader':             'vendor/angular-loader',
      'angular-mocks':              'vendor/angular-mocks',
      'angular-resource':           'vendor/angular-resource',
      'angular-route':              'vendor/angular-route',
      'angular-sanitize':           'vendor/angular-sanitize',
      'angular-scenario':           'vendor/angular-scenario',
      'angular-touch':              'vendor/angular-touch',
      'angular-ui':                 'vendor/angular-ui',
      'angular-bootstrap':          'vendor/ui-bootstrap-tpls-0.11.0',
      'jquery-ui-core':             'vendor/jquery.ui.core',
      'jquery-ui-mouse':            'vendor/jquery.ui.mouse',
      'jquery-ui-widget':           'vendor/jquery.ui.widget',
      'jquery-ui-draggable':        'vendor/jquery.ui.draggable',
      'jquery-mousewheel':          'vendor/jquery.mousewheel',
      'jquery-overscroll':          'vendor/jquery.overscroll',
      domReady:                     'vendor/domReady',
      'placeholders-js':            'vendor/placeholders.main',
      'bpmn-js':                    'vendor/bpmn-viewer',
      'snap-svg':                   'vendor/snap.svg'
    },

    shim: {
      angular: {
        deps: ['jquery'],
        exports: 'angular'
      },

      'bpmn-js':              [<commit_msg>impr(require conf): remove path to angular-ui<commit_after>// # camunda-commons-ui
// @name camunda-commons-ui
//
// This file is an entry point for modules which depends on
// camunda-commons-ui to get the libraries

/* jshint node: true */
'use strict';
var _ = require('lodash');


// ## requirejs
// @name camunda-commons-ui.requirejs
//
// This function is aimed to provide a common (but overridable)
// configuration for grunt require.js tasks.
//
// @param options
// @param options.pathPrefix should be the path to
//                           camunda-commons-ui relative from
//                           the project running the grunt task
function requirejsConf(options) {
  options = options || {};

  if (typeof options.pathPrefix === 'undefined') {
    options.pathPrefix = '../node_modules/camunda-commons-ui';
  }

  var conf = {
    stubModules: [
      'text'
    ],

    paths: {
      'camunda-commons-ui':         'lib',

      // #### npm dependencies
      'angular-data-depend':        'node_modules/angular-data-depend/src/dataDepend',
      'angular-translate':          'node_modules/angular-translate/dist/angular-translate',
      'angular-moment':             'node_modules/angular-moment/angular-moment',
      'camunda-bpm-sdk-js':         'node_modules/camunda-bpm-sdk-js/dist/camunda-bpm-sdk-angular',
      jquery:                       'node_modules/jquery/dist/jquery',
      moment:                       'node_modules/moment/moment',
      requirejs:                    'node_modules/requirejs/require',
      ngDefine:                     'node_modules/requirejs-angular-define/dist/ngDefine',
      text:                         'node_modules/requirejs-text/text',
      lodash:                       'node_modules/lodash/lodash',
      sax:                          'node_modules/sax/lib/sax',

      // #### vendor dependencies
      angular:                      'vendor/angular',
      'angular-animate':            'vendor/angular-animate',
      'angular-cookies':            'vendor/angular-cookies',
      'angular-loader':             'vendor/angular-loader',
      'angular-mocks':              'vendor/angular-mocks',
      'angular-resource':           'vendor/angular-resource',
      'angular-route':              'vendor/angular-route',
      'angular-sanitize':           'vendor/angular-sanitize',
      'angular-scenario':           'vendor/angular-scenario',
      'angular-touch':              'vendor/angular-touch',
      'angular-bootstrap':          'vendor/ui-bootstrap-tpls-0.11.0',
      'jquery-ui-core':             'vendor/jquery.ui.core',
      'jquery-ui-mouse':            'vendor/jquery.ui.mouse',
      'jquery-ui-widget':           'vendor/jquery.ui.widget',
      'jquery-ui-draggable':        'vendor/jquery.ui.draggable',
      'jquery-mousewheel':          'vendor/jquery.mousewheel',
      'jquery-overscroll':          'vendor/jquery.overscroll',
      domReady:                     'vendor/domReady',
      'placeholders-js':            'vendor/placeholders.main',
      'bpmn-js':                    'vendor/bpmn-viewer',
      'snap-svg':                   'vendor/snap.svg'
    },

    shim: {
      angular: {
        deps: ['jquery'],
        exports: 'angular'
      },

      'bpmn-js':              [
{'fraction_non_alphanumeric': 0.13697593461480248, 'fraction_numerical': 0.0012108369910700772, 'mean_word_length': 1.7328370554177006, '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': '689406', 'n_tokens_mistral': 1897, 'n_tokens_neox': 1893, 'n_words': 317}