Commit 2cd228b3 authored by Randall Leeds's avatar Randall Leeds

Sanitizing DI annotations

parent ba8a6293
......@@ -517,8 +517,14 @@ class App
, 5000
class Annotation
this.$inject = ['$element', '$location', '$sce', '$scope', 'annotator', 'baseURI', 'drafts', '$timeout', '$window']
constructor: ($element, $location, $sce, $scope, annotator, baseURI, drafts, $timeout, $window) ->
this.$inject = [
'$element', '$location', '$sce', '$scope', '$timeout', '$window',
'annotator', 'baseURI', 'drafts'
]
constructor: (
$element, $location, $sce, $scope, $timeout, $window,
annotator, baseURI, drafts
) ->
threading = annotator.threading
$scope.action = 'create'
$scope.editing = false
......@@ -687,8 +693,14 @@ class Annotation
class Editor
this.$inject = ['$location', '$routeParams', '$sce', '$scope', 'annotator']
constructor: ($location, $routeParams, $sce, $scope, annotator) ->
this.$inject = [
'$location', '$routeParams', '$sce', '$scope',
'annotator'
]
constructor: (
$location, $routeParams, $sce, $scope,
annotator
) ->
{providers} = annotator
save = ->
......
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