(options)
| 1681 | } |
| 1682 | |
| 1683 | function xmlFileReader(options) { |
| 1684 | return function(zipFile) { |
| 1685 | return readXmlFromZipFile(zipFile, options.filename) |
| 1686 | .then(function(element) { |
| 1687 | return element ? options.readElement(element) : options.defaultValue; |
| 1688 | }); |
| 1689 | }; |
| 1690 | } |
| 1691 | |
| 1692 | function readXmlFileWithBody(filename, options, func) { |
| 1693 | var readRelationshipsFromZipFile = xmlFileReader({ |
no test coverage detected