X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/195a1011a3ac43b5ff7cec4346b87e7453cee16a..4a10da821d96b8e462cc9db5e74e2507445eee76:/modules/diffViewer/diffViewer.js diff --git a/modules/diffViewer/diffViewer.js b/modules/diffViewer/diffViewer.js index ba88a48..12e022a 100644 --- a/modules/diffViewer/diffViewer.js +++ b/modules/diffViewer/diffViewer.js @@ -14,11 +14,12 @@ return function(sandbox) { dom.append(tabsView.getAsView()); var DiffView = function() { - this.dom = $(diffTemplateSrc) - } + this.dom = $(diffTemplateSrc); + }; + DiffView.prototype.setTable = function(table) { this.dom.append(table); - } + }; return {