Browse Source

Remove XHTML leftovers from the viewer HTML files

Tim van der Meij 9 years ago
parent
commit
edb2eecdc8
  1. 2
      web/viewer-snippet-firefox-extension.html
  2. 2
      web/viewer-snippet-minified.html
  3. 2
      web/viewer-snippet.html
  4. 6
      web/viewer.html

2
web/viewer-snippet-firefox-extension.html

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
<!-- This snippet is used in the Firefox extension (included from viewer.html) -->
<base href="resource://pdf.js/web/" />
<base href="resource://pdf.js/web/">
<script src="l10n.js"></script>
<script src="../build/pdf.js"></script>

2
web/viewer-snippet-minified.html

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

2
web/viewer-snippet.html

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

6
web/viewer.html

@ -39,9 +39,9 @@ See https://github.com/adobe-type-tools/cmap-resources @@ -39,9 +39,9 @@ See https://github.com/adobe-type-tools/cmap-resources
<!--#include viewer-snippet-chrome-extension.html-->
<!--#endif-->
<link rel="stylesheet" href="viewer.css"/>
<link rel="stylesheet" href="viewer.css">
<!--#if !PRODUCTION-->
<link rel="resource" type="application/l10n" href="locale/locale.properties"/>
<link rel="resource" type="application/l10n" href="locale/locale.properties">
<!--#endif-->
<!--#if !(MOZCENTRAL || CHROME || MINIFIED)-->
@ -332,7 +332,7 @@ See https://github.com/adobe-type-tools/cmap-resources @@ -332,7 +332,7 @@ See https://github.com/adobe-type-tools/cmap-resources
</div>
<div class="row">
<!-- The type="password" attribute is set via script, to prevent warnings in Firefox for all http:// documents. -->
<input id="password" class="toolbarField" />
<input id="password" class="toolbarField">
</div>
<div class="buttonRow">
<button id="passwordCancel" class="overlayButton"><span data-l10n-id="password_cancel">Cancel</span></button>

Loading…
Cancel
Save