<commit_before># In this module all the static files are specified that are required by the
# CATMAID front-end. The configuration is separated in libraries and CATMAID's
# own files:
#
# Libraries: To add a new library, add a new entry into the libraries_js
# dictionary and, if needed, add the libraries CSS files to sourcefiles
# tuple of the 'library' entry in the PIPELINE_CSS dictionary.
#
# CATMAID files: By default all CSS files in the static/css directory are
# included as well as all JavaScript files in static/js and CATMAID's
# subdirectories in it. However, if you want to add new files explicitly, add
# CSS to the source_filenames tuple in the 'catmaid' entry of the PIPELINE_CSS
# dictionary. JavaScript files go into the 'catmaid' entry of the PIPELINE_JS
# dictonary at the end of this file.

from collections import OrderedDict

PIPELINE_CSS = {
    'libraries': {
        'source_filenames': (
            'libs/jquery/themes/smoothness/jquery-ui.css',
            'libs/jquery/datatable/css/demo_table.css',
            'libs/jquery/datatable/extras/ColReorder/css/dataTables.colReorder.css',
            'libs/jquery/jquery.growl.css',
            'libs/jquery/jquery-ui.combobox.css',
            'libs/jsTree/classic/style.css',
        ),
        'output_filename': 'css/libraries.css',
        'extra_context': {
            'media': 'screen,projection',
        }
    },
    'catmaid': {
        'source_filenames': (
            'css/*.css',
        ),
        'output_filename': 'css/catmaid.css',
        'extra_context': {
            'media': 'screen,projection',
        }
    },
}

libraries_js = {
    'modernizr': ['*.js'],
    'jquery': ['jquery-2.1.3.min.js', 'jquery-migrate-1.2.1.js',
               'jquery-ui.min.js',
               'jquery.dataTables.min.js', 'jquery.*.js'],
    'fabric.js': ['all.modified.js'],
    'raphael': ['raphael.js', 'g.raphael.js', 'g.pie-min.js', 'g.line.altered.js',
                'raphael-custom.js', 'colorwheel.js', 'raphael.export.js'],
    'd3': ['d3.v3.js', 'venn.js', 'mds.js', 'colorbrewer.js'],
    'sylvester': ['sylvester.js'],
    'numeric': ['numeric-1.2.6.js'],
    'three.js': ['three.js', 'controls/TrackballControls.js',
                 'camera/CombinedCamera.js', 'Detector.js',
                 'helvetiker_regular.typeface.js',
                 'renderer/Projector.js', 'renderer/SVGRenderer.js'],
    'threex': ['*.js'],
    'pixi.js': ['*.js'],
    'cytoscapejs': ['cytoscape.js'],
    'jsnetworkx': ['*.js'],
    'filesaver': ['*.js'],
    'whammy': ['whammy.js'],
    'catmaid': ['request.js', 'CATMAID.js', 'error.js', 'events.js',
                'neuron_controller.js', 'skeleton_source.js', '*.js'],
}

PIPELINE_JS = OrderedDict()<commit_msg>Fix missing include of jquery-ui.combobox.js (used for auto-completion)<commit_after># In this module all the static files are specified that are required by the
# CATMAID front-end. The configuration is separated in libraries and CATMAID's
# own files:
#
# Libraries: To add a new library, add a new entry into the libraries_js
# dictionary and, if needed, add the libraries CSS files to sourcefiles
# tuple of the 'library' entry in the PIPELINE_CSS dictionary.
#
# CATMAID files: By default all CSS files in the static/css directory are
# included as well as all JavaScript files in static/js and CATMAID's
# subdirectories in it. However, if you want to add new files explicitly, add
# CSS to the source_filenames tuple in the 'catmaid' entry of the PIPELINE_CSS
# dictionary. JavaScript files go into the 'catmaid' entry of the PIPELINE_JS
# dictonary at the end of this file.

from collections import OrderedDict

PIPELINE_CSS = {
    'libraries': {
        'source_filenames': (
            'libs/jquery/themes/smoothness/jquery-ui.css',
            'libs/jquery/datatable/css/demo_table.css',
            'libs/jquery/datatable/extras/ColReorder/css/dataTables.colReorder.css',
            'libs/jquery/jquery.growl.css',
            'libs/jquery/jquery-ui.combobox.css',
            'libs/jsTree/classic/style.css',
        ),
        'output_filename': 'css/libraries.css',
        'extra_context': {
            'media': 'screen,projection',
        }
    },
    'catmaid': {
        'source_filenames': (
            'css/*.css',
        ),
        'output_filename': 'css/catmaid.css',
        'extra_context': {
            'media': 'screen,projection',
        }
    },
}

libraries_js = {
    'modernizr': ['*.js'],
    'jquery': ['jquery-2.1.3.min.js', 'jquery-migrate-1.2.1.js',
               'jquery-ui.min.js', 'jquery-ui.*.js',
               'jquery.dataTables.min.js', 'jquery.*.js'],
    'fabric.js': ['all.modified.js'],
    'raphael': ['raphael.js', 'g.raphael.js', 'g.pie-min.js', 'g.line.altered.js',
                'raphael-custom.js', 'colorwheel.js', 'raphael.export.js'],
    'd3': ['d3.v3.js', 'venn.js', 'mds.js', 'colorbrewer.js'],
    'sylvester': ['sylvester.js'],
    'numeric': ['numeric-1.2.6.js'],
    'three.js': ['three.js', 'controls/TrackballControls.js',
                 'camera/CombinedCamera.js', 'Detector.js',
                 'helvetiker_regular.typeface.js',
                 'renderer/Projector.js', 'renderer/SVGRenderer.js'],
    'threex': ['*.js'],
    'pixi.js': ['*.js'],
    'cytoscapejs': ['cytoscape.js'],
    'jsnetworkx': ['*.js'],
    'filesaver': ['*.js'],
    'whammy': ['whammy.js'],
    'catmaid': ['request.js', 'CATMAID.js', 'error.js', 'events.js',
                'neuron_controller.js', 'skeleton_source.js', '*.js'],
}

PIPELINE_JS = OrderedDict()
{'fraction_non_alphanumeric': 0.1620603015075377, 'fraction_numerical': 0.004307250538406317, 'mean_word_length': 2.720293724966622, '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': '7135918', 'n_tokens_mistral': 1898, 'n_tokens_neox': 1847, 'n_words': 427}