Commit db2433dc authored by Sean Hammond's avatar Sean Hammond

Add a TODO comment

parent 970e3778
...@@ -390,6 +390,8 @@ function AnnotationController( ...@@ -390,6 +390,8 @@ function AnnotationController(
var id = model.id; var id = model.id;
var references = model.references || []; var references = model.references || [];
// TODO: Remove this check once we have server-side code to ensure that
// references is always an array of strings.
if (typeof references === 'string') { if (typeof references === 'string') {
references = [references]; references = [references];
} }
......
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