<commit_before>module app.toolbox {

    import GeneralToolboxElement = app.core.GeneralToolboxElement;
    import ControlToolboxElement = app.core.ControlToolboxElement;
    import ToolboxElement = app.core.ToolboxElement;
    import TreeElement = app.core.TreeElement;

    class ToolboxController {


        private tab:number = 1;

        static $inject = ['$scope', 'ToolboxService'];

        constructor($scope, public toolboxService: ToolboxService) {


            $scope.treeOptionsToolbox = {
                dropped: function(e) {<commit_msg>Small fix<commit_after>module app.toolbox {

    import GeneralToolboxElement = app.core.GeneralToolboxElement;
    import ControlToolboxElement = app.core.ControlToolboxElement;
    import TreeElement = app.core.TreeElement;
    import ToolboxElement = app.core.ToolboxElement;

    class ToolboxController {


        private tab:number = 1;

        static $inject = ['$scope', 'ToolboxService'];

        constructor($scope, public toolboxService: ToolboxService) {


            $scope.treeOptionsToolbox = {
                accept: function (sourceNodeScope, destNodesScope, destIndex) {
                    return false;
                },
                dropped: function(e) {
                    console.log(e);

                    //if the element is being dragged into the toolbar itself, return
                    if(e.dest.nodesScope.$modelValue == e.source.nodesScope.$modelValue) {
                        return;
                    }
{'fraction_non_alphanumeric': 0.08681245858184228, 'fraction_numerical': 0.0013253810470510272, 'mean_word_length': 2.3041575492341355, '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': '3130960', 'n_tokens_mistral': 399, 'n_tokens_neox': 370, 'n_words': 83}