fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removing unnecessary tests from wlxml.js
[fnpeditor.git]
/
src
/
editor
/
modules
/
metadataEditor
/
transformations.js
diff --git
a/src/editor/modules/metadataEditor/transformations.js
b/src/editor/modules/metadataEditor/transformations.js
index
a09ee38
..
4bb3fdc
100644
(file)
--- a/
src/editor/modules/metadataEditor/transformations.js
+++ b/
src/editor/modules/metadataEditor/transformations.js
@@
-1,4
+1,4
@@
-define(['libs/jquery'
], function($
) {
+define(['libs/jquery'
, 'libs/underscore'], function($, _
) {
'use strict';
'use strict';
@@
-17,6
+17,7
@@
define(['libs/jquery'], function($) {
meta.append('\n\t<dc:'+key+'>' + metadata[key] + '</dc:'+key+'>');
});
meta.append('\n');
meta.append('\n\t<dc:'+key+'>' + metadata[key] + '</dc:'+key+'>');
});
meta.append('\n');
+ /* globals vkbeautify */
return vkbeautify.xml(meta.html());
}
};
return vkbeautify.xml(meta.html());
}
};