Commit 2811fcd3 authored by csillag's avatar csillag

Add debug output to show the number of loaded annotations on console

parent d6bc11b2
......@@ -352,6 +352,11 @@ class Hypothesis extends Annotator
# (Optionally) put some HTML formatting around a quote
getHtmlQuote: (quote) -> quote
# Just some debug output
loadAnnotations: (annotations) ->
console.log "Loaded", annotations.length, "annotations."
super
# Do nothing in the app frame, let the host handle it.
setupAnnotation: (annotation) ->
annotation.highlights = []
......
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