Commit d5a6c188 authored by Aron Carroll's avatar Aron Carroll

Add a temporary Annotator instance for the Auth plugin

parent 14112f75
......@@ -26,6 +26,13 @@ renderFactory = ['$$rAF', ($$rAF) ->
]
# Dummy class that wraps annotator until the Auth plugin is removed.
class AngularAnnotator extends Annotator
this.$inject = ['$document']
constructor: ($document) ->
super(document.createElement('div'))
class Hypothesis extends Annotator
events:
'beforeAnnotationCreated': 'beforeAnnotationCreated'
......@@ -476,5 +483,5 @@ class ViewFilter
angular.module('h')
.factory('render', renderFactory)
.provider('drafts', DraftProvider)
.service('annotator', Hypothesis)
.service('annotator', AngularAnnotator)
.service('viewFilter', ViewFilter)
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