Commit 5fd012df authored by Tristan Cavelier's avatar Tristan Cavelier

gidstorage jslint pass

parent 8cc5cfb6
...@@ -109,7 +109,8 @@ ...@@ -109,7 +109,8 @@
for (i = 0; i < value.length; i += 1) { for (i = 0; i < value.length; i += 1) {
if (typeof value[i] === 'object' && dcmi_types[value[i].content]) { if (typeof value[i] === 'object' && dcmi_types[value[i].content]) {
return value[i].content; return value[i].content;
} else if (dcmi_types[value[i]]) { }
if (dcmi_types[value[i]]) {
return value[i]; return value[i];
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment