diff options
Diffstat (limited to 'lib/docx/footnotes-reader.js')
| -rw-r--r-- | lib/docx/footnotes-reader.js | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/docx/footnotes-reader.js b/lib/docx/footnotes-reader.js index a55b261..c7ec98c 100644 --- a/lib/docx/footnotes-reader.js +++ b/lib/docx/footnotes-reader.js @@ -1,14 +1,6 @@ exports.readFootnotesXml = readFootnotesXml; -function Footnotes(footnotes) { - function findFootnoteById(id) { - return footnotes[id] || null; - } - - return { - findFootnoteById: findFootnoteById - }; -} +var Footnotes = require("../documents").Footnotes; function readFootnotesXml(xml) { var footnotes = {}; |
