Skip to content

Commit

Permalink
v3.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
edi9999 committed Mar 22, 2017
1 parent 5a363c6 commit 61e216e
Show file tree
Hide file tree
Showing 4 changed files with 3,841 additions and 4 deletions.
5 changes: 3 additions & 2 deletions build/docxtemplater-latest.js
Expand Up @@ -1495,7 +1495,8 @@ module.exports = function () {

}, {
key: "render",
value: function render() {
value: function render(to) {
this.filePath = to;
this.setModules({ inspect: { postparsed: this.postparsed } });
this.content = _render({
compiled: this.postparsed,
Expand Down Expand Up @@ -3763,7 +3764,7 @@ var Docxtemplater = function () {
var from = mapped.from;
var currentFile = _this2.compiled[from];
currentFile.setTags(mapped.data);
currentFile.render();
currentFile.render(to);
_this2.zip.file(to, currentFile.content);
});

Expand Down
4 changes: 2 additions & 2 deletions build/docxtemplater-latest.min.js

Large diffs are not rendered by default.

0 comments on commit 61e216e

Please sign in to comment.