diff --git a/services/web/public/coffee/ide/pdfng/directives/pdfJs.coffee b/services/web/public/coffee/ide/pdfng/directives/pdfJs.coffee index eccb9b5f44..aba1bd9578 100644 --- a/services/web/public/coffee/ide/pdfng/directives/pdfJs.coffee +++ b/services/web/public/coffee/ide/pdfng/directives/pdfJs.coffee @@ -91,7 +91,7 @@ define [ # flashControls() scope.$on "loaded", () -> - console.log "LOADED" + # console.log "LOADED" scope.loading = false #scope.$watch "highlights", (areas) -> diff --git a/services/web/public/coffee/ide/pdfng/directives/pdfRenderer.coffee b/services/web/public/coffee/ide/pdfng/directives/pdfRenderer.coffee index c17c06873b..15a45c8908 100644 --- a/services/web/public/coffee/ide/pdfng/directives/pdfRenderer.coffee +++ b/services/web/public/coffee/ide/pdfng/directives/pdfRenderer.coffee @@ -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 diff --git a/services/web/public/coffee/ide/pdfng/directives/pdfViewer.coffee b/services/web/public/coffee/ide/pdfng/directives/pdfViewer.coffee index beefca53fe..977fea8fff 100644 --- a/services/web/public/coffee/ide/pdfng/directives/pdfViewer.coffee +++ b/services/web/public/coffee/ide/pdfng/directives/pdfViewer.coffee @@ -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' }