Disabling workers until localhost fix lands in FF
This commit is contained in:
		
							parent
							
								
									d2458b4da9
								
							
						
					
					
						commit
						feb621380d
					
				| @ -15,6 +15,10 @@ if (!globalScope.PDFJS) { | |||||||
|   globalScope.PDFJS = {}; |   globalScope.PDFJS = {}; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | // Temporarily disabling workers until 'localhost' FF bugfix lands:
 | ||||||
|  | // https://bugzilla.mozilla.org/show_bug.cgi?id=683280
 | ||||||
|  | globalScope.PDFJS.disableWorker = true; | ||||||
|  | 
 | ||||||
| // getPdf()
 | // getPdf()
 | ||||||
| // Convenience function to perform binary Ajax GET
 | // Convenience function to perform binary Ajax GET
 | ||||||
| // Usage: getPdf('http://...', callback)
 | // Usage: getPdf('http://...', callback)
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user