From ed6eedd9e23f92f1d385a244308963937206af63 Mon Sep 17 00:00:00 2001 From: Brian Date: Tue, 20 Jan 2015 20:36:43 +0000 Subject: [PATCH] remove unused functions in pdfRenderer --- .../ide/pdfng/directives/pdfRenderer.coffee | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/services/web/public/coffee/ide/pdfng/directives/pdfRenderer.coffee b/services/web/public/coffee/ide/pdfng/directives/pdfRenderer.coffee index 039a29f87d..46803fcc06 100644 --- a/services/web/public/coffee/ide/pdfng/directives/pdfRenderer.coffee +++ b/services/web/public/coffee/ide/pdfng/directives/pdfRenderer.coffee @@ -90,13 +90,6 @@ define [ setScale: (@scale) -> @resetState() - pause: (element, pagenum) -> - return if @complete[pagenum] - return if @shuttingDown - @renderQueue = @renderQueue.filter (q) -> - q.pagenum != pagenum - @spinner.stop(element.canvas) - triggerRenderQueue: (interval = @JOB_QUEUE_INTERVAL) -> $timeout () => @processRenderQueue() @@ -117,15 +110,6 @@ define [ } @triggerRenderQueue() - renderPage: (element, pagenum) -> - return if @shuttingDown - current = { - 'element': element - 'pagenum': pagenum - } - @renderQueue.push(current) - @triggerRenderQueue() - processRenderQueue: () -> return if @shuttingDown return if @jobs > 0