|
@@ -10,6 +10,7 @@ define [
|
|
|
|
|
|
|
|
constructor: (@url, @options) ->
|
|
constructor: (@url, @options) ->
|
|
|
PDFJS.disableAutoFetch = true
|
|
PDFJS.disableAutoFetch = true
|
|
|
|
|
+ PDFJS.disableFontFace = true
|
|
|
@scale = @options.scale || 1
|
|
@scale = @options.scale || 1
|
|
|
@document = $q.when(PDFJS.getDocument @url)
|
|
@document = $q.when(PDFJS.getDocument @url)
|
|
|
@navigateFn = @options.navigateFn
|
|
@navigateFn = @options.navigateFn
|