react-imported-component
Version:
I will import your component, and help to handle it
13 lines (12 loc) • 545 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.markerOverlap = exports.toKnownSignature = void 0;
var config_1 = require("../configuration/config");
var toKnownSignature = function (signature, marks) {
return (!config_1.settings.checkSignatures && marks.join('|')) || signature;
};
exports.toKnownSignature = toKnownSignature;
var markerOverlap = function (a1, a2) {
return a1.filter(function (mark) { return a2.indexOf(mark) >= 0; }).length === a1.length;
};
exports.markerOverlap = markerOverlap;
;