All files / src/node-groups SelfDefendingNodesGroup.js

100% Statements 7/7
100% Branches 3/3
100% Functions 1/1
100% Lines 7/7
1 2 3 4 5 6 7 8 9 10 11 12 13 14  1x 1x   17x   8x 7x   1x     1x  
"use strict";
const NodesGroup_1 = require('./NodesGroup');
const SelfDefendingUnicodeNode_1 = require("../custom-nodes/self-defending-nodes/SelfDefendingUnicodeNode");
class SelfDefendingNodesGroup extends NodesGroup_1.NodesGroup {
    constructor(options) {
        super(options);
        if (!this.options.get('selfDefending')) {
            return;
        }
        this.nodes.set('selfDefendingUnicodeNode', new SelfDefendingUnicodeNode_1.SelfDefendingUnicodeNode(this.options));
    }
}
exports.SelfDefendingNodesGroup = SelfDefendingNodesGroup;
//# sourceMappingURL=SelfDefendingNodesGroup.js.map