Skip to content
Snippets Groups Projects
Commit fb6efa08 authored by Javier de la Rosa's avatar Javier de la Rosa
Browse files

Check for jsonLd.sequences for tests to pass

parent 5266823f
No related branches found
No related tags found
No related merge requests found
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
}, },
getCanvases : function() { getCanvases : function() {
var _this = this; var _this = this;
return _this.jsonLd.sequences[0].canvases; return _this.jsonLd.sequences && _this.jsonLd.sequences[0].canvases;
}, },
getAnnotationsListUrls: function(canvasId) { getAnnotationsListUrls: function(canvasId) {
var _this = this; var _this = this;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment