UNPKG

asciidoctor-gettext

Version:

gettext/po string extraction tool for asciidoc documents

15 lines 453 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function collate(extractions) { var map = {}; return extractions.reduce(function (rv, extraction) { var existing = map[extraction.text]; if (existing === undefined) { map[extraction.text] = extraction; rv.push(extraction); } return rv; }, []); } exports.collate = collate; //# sourceMappingURL=collate.js.map