You are here

function pdf_worker_loader_js in PDF 6

1 string reference to 'pdf_worker_loader_js'
pdf_menu in ./pdf.module
Implementation of hook_menu().

File

./pdf.module, line 58

Code

function pdf_worker_loader_js() {
  global $base_url;
  $output = "importScripts('{$base_url}/sites/all/libraries/pdf.js/build/pdf.js');";
  print $output;
  exit;
}