Closed sandervdwaal closed 11 years ago
Aha!!! Well that's an easy issue to fix. I'm using the raw github method which is not the right one ;-) It was a quick hack. I'll update and fix the code asap, ok? Basically we will be serving pdf.js directly from CrowdCrafting.org as javascript ;-)
On Sat, May 25, 2013 at 3:34 PM, Sander van der Waal < notifications@github.com> wrote:
In Chrome (v 27.0.1453.94 m) on Windows 7, when viewing a task that uses the PDF transcribe function, the pdf is not loaded and the following error is shown in the console:
Refused to execute script from ' https://raw.github.com/mozilla/pdf.js/gh-pages/build/pdf.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. newtask:1 Uncaught ReferenceError: PDFJS is not defined
It does load on Firefox (v 20.0.1) on Windows 7.
— Reply to this email directly or view it on GitHubhttps://github.com/PyBossa/pybossa/issues/523 .
·························································································································································· http://daniellombrana.es http://citizencyberscience.net ·························································································································································· Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él. ··························································································································································
In Chrome (v 27.0.1453.94 m) on Windows 7, when viewing a task that uses the PDF transcribe function, the pdf is not loaded and the following error is shown in the console:
Refused to execute script from 'https://raw.github.com/mozilla/pdf.js/gh-pages/build/pdf.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. newtask:1 Uncaught ReferenceError: PDFJS is not defined
It does load on Firefox (v 20.0.1) on Windows 7.