Remove type="text/javascript" from script tags.

"text/javascript" is not a correct MIME type (the correct one is
"application/javascript") but it's not even needed; all browsers default
to the correct type and treat it as executable JS when type is ommited.
Since not all browsers recognize the "application/javascript" MIME type
the only way to both stay compliant and to support all popular browsers
is to omit the type. It's also shorter this way.
This commit is contained in:
Michał Gołębiowski 2014-05-13 02:41:01 +02:00
parent 40ba989592
commit e625af3fef
13 changed files with 170 additions and 170 deletions

View file

@ -1,3 +1,3 @@
<!-- This snippet is used in production (included from viewer.html) -->
<link rel="resource" type="application/l10n" href="locale/locale.properties"/>
<script type="text/javascript" src="pdf.viewer.js"></script>
<script src="pdf.viewer.js"></script>