mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
comment out console.logs in pdfng
This commit is contained in:
parent
843fa6f847
commit
1acc924e0b
3 changed files with 7 additions and 7 deletions
|
@ -91,7 +91,7 @@ define [
|
|||
# flashControls()
|
||||
|
||||
scope.$on "loaded", () ->
|
||||
console.log "LOADED"
|
||||
# console.log "LOADED"
|
||||
scope.loading = false
|
||||
|
||||
#scope.$watch "highlights", (areas) ->
|
||||
|
|
|
@ -198,7 +198,7 @@ define [
|
|||
return result
|
||||
|
||||
destroy: () ->
|
||||
console.log 'in pdf renderer destroy', @renderQueue
|
||||
# console.log 'in pdf renderer destroy', @renderQueue
|
||||
@shuttingDown = true
|
||||
@renderQueue = []
|
||||
for task in @renderTask
|
||||
|
|
|
@ -269,7 +269,7 @@ define [
|
|||
#scope.$apply()
|
||||
|
||||
scope.$on 'layout:main:resize', () ->
|
||||
# console.log 'GOT LAYOUT-RESIZE EVENT'
|
||||
# console.log 'GOT LAYOUT-MAIN-RESIZE EVENT'
|
||||
scope.parentSize = [
|
||||
element.innerHeight(),
|
||||
element.innerWidth()
|
||||
|
@ -278,7 +278,7 @@ define [
|
|||
|
||||
|
||||
scope.$on 'layout:pdf:resize', () ->
|
||||
console.log 'GOT LAYOUT-RESIZE EVENT'
|
||||
# console.log 'GOT LAYOUT-PDF-RESIZE EVENT'
|
||||
scope.parentSize = [
|
||||
element.innerHeight(),
|
||||
element.innerWidth()
|
||||
|
@ -366,8 +366,8 @@ define [
|
|||
# console.log 'navigate to', newVal
|
||||
# console.log 'look up page num'
|
||||
scope.document.getDestination(newVal.dest).then (r) ->
|
||||
console.log 'need to go to', r
|
||||
console.log 'page ref is', r[0]
|
||||
# console.log 'need to go to', r
|
||||
# console.log 'page ref is', r[0]
|
||||
scope.document.getPageIndex(r[0]).then (pidx) ->
|
||||
# console.log 'page num is', pidx
|
||||
page = scope.pages[pidx]
|
||||
|
@ -412,7 +412,7 @@ define [
|
|||
ctrl.setPdfPosition(scope.pages[first.page], position)
|
||||
|
||||
scope.$watch '$destroy', () ->
|
||||
console.log 'handle pdfng directive destroy'
|
||||
#console.log 'handle pdfng directive destroy'
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue