Commit b0b32c06 authored by Ed Summers's avatar Ed Summers

load document plugin

parent f9421db9
class Annotator.Plugin.Document extends Annotator.Plugin
events:
'beforeAnnotationCreated': 'beforeAnnotationCreated'
pluginInit: ->
console.log "initializing Document plugin!"
beforeAnnotationCreated: (annotation) =>
debugger
alert "creating annotation #{annotation}"
......@@ -39,6 +39,7 @@ class Hypothesis extends Annotator
showViewPermissionsCheckbox: false,
userString: (user) -> user.replace(/^acct:(.+)@(.+)$/, '$1 on $2')
Threading: {}
Document: {}
# Internal state
dragging: false # * To enable dragging only when we really want to
......
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