<commit_before>'use strict';

plesynd.factory('childFrameService', ["$rootScope", "widgetService",
    function ($rootScope, widgetService) {

        function ChildFrameService() {
            console.log('ChildFrameService Konstruktor');
            this.childFrames = {};
            this.widgets = [];
        }

        var service = new ChildFrameService();

        ChildFrameService.prototype.addChild = function(child) {
            if(this.childFrames[child['id']] == undefined) {
                this.childFrames[child['id']] = {
                  //  frame : child,
                    data  : null
                };
            }
        };

        ChildFrameService.prototype.setChildFrameData = function(data) {
            var self = this;
            var position;
<commit_msg>added child-frame service<commit_after>'use strict';

plesynd.factory('childFrameService', ["$rootScope",
    function ($rootScope) {

        function ChildFrameService() {
            this.childFrames = {};
            this.widgets = [];
        }

        var service = new ChildFrameService();

        ChildFrameService.prototype.addChild = function(child) {
            if(this.childFrames[child['id']] == undefined) {
                this.childFrames[child['id']] = {
                  //  frame : child,
                    data  : null
                };
            }
        };

        ChildFrameService.prototype.setChildFrameData = function(data) {
            var self = this;
            var position;

{'fraction_non_alphanumeric': 0.11822985468956407, 'fraction_numerical': 0.0, 'mean_word_length': 1.749546279491833, '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': '4672649', 'n_tokens_mistral': 397, 'n_tokens_neox': 373, 'n_words': 66}