[Pkg-javascript-commits] [pdf.js] 199/246: Adds svg.js to the generic and singlefile builds

David Prévot taffit at moszumanska.debian.org
Sun Sep 7 15:36:40 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit 0f862e7eb3d9c854950d59faa81dc7c840f7b5fa
Author: Yury Delendik <ydelendik at mozilla.com>
Date:   Thu Aug 14 13:02:30 2014 -0500

    Adds svg.js to the generic and singlefile builds
---
 make.js            | 1 +
 src/display/svg.js | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/make.js b/make.js
index 4a3e6e0..55945af 100644
--- a/make.js
+++ b/make.js
@@ -380,6 +380,7 @@ target.bundle = function(args) {
     'display/pattern_helper.js',
     'display/font_loader.js',
     'display/annotation_helper.js',
+    'display/svg.js'
   ]);
 
   var srcFiles = builder.getWorkerSrcFiles('src/worker_loader.js');
diff --git a/src/display/svg.js b/src/display/svg.js
index 3c8fd24..d84b6a1 100644
--- a/src/display/svg.js
+++ b/src/display/svg.js
@@ -19,6 +19,7 @@
 
 'use strict';
 
+//#if (GENERIC || SINGLE_FILE)
 var convertImgDataToPng = (function convertImgDataToPngClosure() {
   var PNG_HEADER =
     new Uint8Array([0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a]);
@@ -1117,4 +1118,4 @@ var SVGGraphics = (function SVGGraphicsClosure() {
 })();
 
 PDFJS.SVGGraphics = SVGGraphics;
-
+//#endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list