mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Adds make minified command
This commit is contained in:
parent
6c3bdd144a
commit
2b298a7a34
3 changed files with 88 additions and 2 deletions
3
web/viewer-snippet-minified.html
Normal file
3
web/viewer-snippet-minified.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<!-- This snippet is used in production, see Makefile -->
|
||||
<link rel="resource" type="application/l10n" href="locale/locale.properties"/>
|
||||
<script type="text/javascript" src="pdf.viewer.js"></script>
|
|
@ -35,7 +35,7 @@ limitations under the License.
|
|||
<link rel="resource" type="application/l10n" href="locale/locale.properties"/>
|
||||
<!--#endif-->
|
||||
|
||||
<!--#if !(FIREFOX || MOZCENTRAL || CHROME)-->
|
||||
<!--#if !(FIREFOX || MOZCENTRAL || CHROME || MINIFIED)-->
|
||||
<script type="text/javascript" src="compatibility.js"></script>
|
||||
<!--#endif-->
|
||||
|
||||
|
@ -56,7 +56,7 @@ limitations under the License.
|
|||
<script type="text/javascript">PDFJS.workerSrc = '../src/worker_loader.js';</script>
|
||||
<!--#endif-->
|
||||
|
||||
<!--#if GENERIC -->
|
||||
<!--#if (GENERIC && !MINIFIED) -->
|
||||
<!--#include viewer-snippet.html-->
|
||||
<!--#endif-->
|
||||
|
||||
|
@ -79,8 +79,12 @@ limitations under the License.
|
|||
<script type="text/javascript" src="hand_tool.js"></script>
|
||||
<!--#endif-->
|
||||
|
||||
<!--#if !MINIFIED -->
|
||||
<script type="text/javascript" src="debugger.js"></script>
|
||||
<script type="text/javascript" src="viewer.js"></script>
|
||||
<!--#else-->
|
||||
<!--#include viewer-snippet-minified.html-->
|
||||
<!--#endif-->
|
||||
|
||||
</head>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue