<commit_before>"use strict";

define(['logManager',
    'clientUtil',
    'js/DiagramDesigner/DesignerCanvas'], function (logManager,
                                                    clientUtil,
                                                    DesignerCanvas) {

    var AspectBuilderCanvas,
        __parent__ = DesignerCanvas,
        __parent_proto__ = DesignerCanvas.prototype;

    AspectBuilderCanvas = function (opts) {
        var options = $.extend({}, opts);

        options.loggerName = options.loggerName || "AspectBuilderCanvas";

        __parent__.apply(this, [options]);

        this.logger.debug("MetaDesignerCanvas ctor");
    };

    _.extend(AspectBuilderCanvas.prototype, DesignerCanvas.prototype);

    AspectBuilderCanvas.prototype.initializeUI = function (containerElement) {
        __parent_proto__.initializeUI.apply(this, arguments);
        this.logger.debug("AspectBuilderCanvas.initializeUI");

        this._num = 0;
        this._backGroundText();
    };

    AspectBuilderCanvas.prototype._resizeItemContainer =  function (width, height) {
        __parent_proto__._resizeItemContainer.apply(this, arguments);

        this._backGroundText();
    };

    AspectBuilderCanvas.prototype._backGroundText = function () {
        var text;

        if (this._num === 0) {
            text = "Your aspect is empty... Drag & drop objects from the tree...";
        } else {
            text = "Your aspect contains: " + this._num + " elements";
        }
<commit_msg>typo fix<commit_after>"use strict";

define(['logManager',
    'clientUtil',
    'js/DiagramDesigner/DesignerCanvas'], function (logManager,
                                                    clientUtil,
                                                    DesignerCanvas) {

    var AspectBuilderCanvas,
        __parent__ = DesignerCanvas,
        __parent_proto__ = DesignerCanvas.prototype;

    AspectBuilderCanvas = function (opts) {
        var options = $.extend({}, opts);

        options.loggerName = options.loggerName || "AspectBuilderCanvas";

        __parent__.apply(this, [options]);

        this.logger.debug("AspectBuilderCanvas ctor");
    };

    _.extend(AspectBuilderCanvas.prototype, DesignerCanvas.prototype);

    AspectBuilderCanvas.prototype.initializeUI = function (containerElement) {
        __parent_proto__.initializeUI.apply(this, arguments);
        this.logger.debug("AspectBuilderCanvas.initializeUI");

        this._num = 0;
        this._backGroundText();
    };

    AspectBuilderCanvas.prototype._resizeItemContainer =  function (width, height) {
        __parent_proto__._resizeItemContainer.apply(this, arguments);

        this._backGroundText();
    };

    AspectBuilderCanvas.prototype._backGroundText = function () {
        var text;

        if (this._num === 0) {
            text = "Your aspect is empty... Drag & drop objects from the tree...";
        } else {
            text = "Your aspect contains: " + this._num + " elements";
        }

{'fraction_non_alphanumeric': 0.10733333333333334, 'fraction_numerical': 0.0013333333333333333, 'mean_word_length': 2.305066079295154, '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': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3138388', 'n_tokens_mistral': 779, 'n_tokens_neox': 750, 'n_words': 145}