define(['libs/jquery-1.9.1.min'], function($) {\r
\r
+ 'use strict';\r
+\r
return {\r
getMetadata: function(xml) {\r
var toret = {};\r
$(xml).find('metadata').children().each(function() {\r
var node = $(this);\r
toret[this.nodeName.split(':')[1].toLowerCase()] = node.text();\r
- })\r
+ });\r
return toret;\r
},\r
getXML: function(metadata) {\r
meta.append('\n');\r
return vkbeautify.xml(meta.html());\r
}\r
- }\r
+ };\r
\r
});
\ No newline at end of file