Commit 517fb20c authored by Randall Leeds's avatar Randall Leeds

dead code

parent 3280ca75
...@@ -89,14 +89,12 @@ class App ...@@ -89,14 +89,12 @@ class App
if newValue if newValue
annotator.show() annotator.show()
annotator.host.notify method: 'showFrame', params: routeName annotator.host.notify method: 'showFrame', params: routeName
$element.find('.topbar').find('.tri').attr('draggable', true)
else if oldValue else if oldValue
$scope.sheet.collapsed = true $scope.sheet.collapsed = true
annotator.hide() annotator.hide()
annotator.host.notify method: 'hideFrame', params: routeName annotator.host.notify method: 'hideFrame', params: routeName
for p in annotator.providers for p in annotator.providers
p.channel.notify method: 'setActiveHighlights' p.channel.notify method: 'setActiveHighlights'
$element.find('.topbar').find('.tri').attr('draggable', false)
$scope.$watch 'sheet.collapsed', (hidden) -> $scope.$watch 'sheet.collapsed', (hidden) ->
unless hidden then $scope.sheet.tab = 'login' unless hidden then $scope.sheet.tab = 'login'
...@@ -187,17 +185,6 @@ class App ...@@ -187,17 +185,6 @@ class App
$i.triggerHandler('input') $i.triggerHandler('input')
, 200 # We hope this is long enough , 200 # We hope this is long enough
$scope.toggleAlwaysOnHighlights = ->
$scope.alwaysOnMode = not $scope.alwaysOnMode
for p in providers
p.channel.notify
method: 'setAlwaysOnMode'
params: $scope.alwaysOnMode
$scope.createUnattachedAnnotation = ->
return unless annotator.discardDrafts()
provider.notify method: 'addComment'
@user_filter = $filter('userName') @user_filter = $filter('userName')
search_query = '' search_query = ''
......
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