From: Aleksander Ɓukasz Date: Fri, 17 Jan 2014 09:37:36 +0000 (+0100) Subject: wlxml: metdata wip - empty key/value is represented as an empty string X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/2aeda11223a51403e22d7ac6fec815d7ba3e7666 wlxml: metdata wip - empty key/value is represented as an empty string --- diff --git a/src/wlxml/extensions/metadata/metadata.js b/src/wlxml/extensions/metadata/metadata.js index 54b3f96..b30b94c 100644 --- a/src/wlxml/extensions/metadata/metadata.js +++ b/src/wlxml/extensions/metadata/metadata.js @@ -8,8 +8,8 @@ var _ = require('libs/underscore'), var Row = function(key, value, metadata) { - this.key = key; - this.value = value; + this.key = key || ''; + this.value = value || ''; this.metadata = metadata; };