X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/95f83648504b6552ff3cbf956f55c6bf5f542a9b..969f365b3ee6d3cb54f98b23e1ebb97df9f801dd:/modules/metadataEditor/transformations.js?ds=sidebyside diff --git a/modules/metadataEditor/transformations.js b/modules/metadataEditor/transformations.js index 8202a9f..ba7092e 100644 --- a/modules/metadataEditor/transformations.js +++ b/modules/metadataEditor/transformations.js @@ -8,7 +8,7 @@ define(['libs/jquery-1.9.1.min'], function($) { $(xml).find('metadata').children().each(function() { var node = $(this); toret[this.nodeName.split(':')[1].toLowerCase()] = node.text(); - }) + }); return toret; }, getXML: function(metadata) { @@ -19,6 +19,6 @@ define(['libs/jquery-1.9.1.min'], function($) { meta.append('\n'); return vkbeautify.xml(meta.html()); } - } + }; }); \ No newline at end of file