{"size": 1055, "ext": "js", "max_stars_repo_path": "src/decorators/JobDecorator/JobDecorator.js", "max_stars_repo_name": "awesome-archive/deepforge", "max_stars_repo_stars_event_min_datetime": "2016-12-06T04:32:45.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-22T04:30:17.000Z", "max_issues_repo_path": "src/decorators/JobDecorator/JobDecorator.js", "max_issues_repo_name": "awesome-archive/deepforge", "max_issues_repo_issues_event_min_datetime": "2016-12-06T20:44:00.000Z", "max_issues_repo_issues_event_max_datetime": "2022-01-26T18:41:31.000Z", "max_forks_repo_path": "src/decorators/JobDecorator/JobDecorator.js", "max_forks_repo_name": "awesome-archive/deepforge", "max_forks_repo_forks_event_min_datetime": "2017-01-13T03:20:44.000Z", "max_forks_repo_forks_event_max_datetime": "2021-04-12T17:51:22.000Z"}
{"max_stars_count": 726, "max_issues_count": 685, "max_forks_count": 72, "avg_line_length": 23.9772727273, "max_line_length": 87, "alphanum_fraction": 0.6303317536}
/*globals define, _*/
/*jshint browser: true, camelcase: false*/

/**
 * @author brollb / https://github.com/brollb
 */

define([
    'js/Decorators/DecoratorBase',
    './EasyDAG/JobDecorator.EasyDAGWidget'
], function (
    DecoratorBase,
    JobDecoratorEasyDAGWidget
) {

    'use strict';

    var JobDecorator,
        __parent__ = DecoratorBase,
        __parent_proto__ = DecoratorBase.prototype,
        DECORATOR_ID = 'JobDecorator';

    JobDecorator = function (params) {
        var opts = _.extend({loggerName: this.DECORATORID}, params);

        __parent__.apply(this, [opts]);

        this.logger.debug('JobDecorator ctor');
    };

    _.extend(JobDecorator.prototype, __parent_proto__);
    JobDecorator.prototype.DECORATORID = DECORATOR_ID;

    /*********************** OVERRIDE DecoratorBase MEMBERS **************************/

    JobDecorator.prototype.initializeSupportedWidgetMap = function () {
        this.supportedWidgetMap = {
            EasyDAG: JobDecoratorEasyDAGWidget
        };
    };

    return JobDecorator;
});
