From a744581f8d77416f213e8e138cdcd28ac47aa04b Mon Sep 17 00:00:00 2001 From: Tony Jin Date: Tue, 27 Feb 2018 11:55:37 -0800 Subject: [PATCH] Fix: Downgrade pdf.js (#687) Downgrade because of https://github.com/mozilla/pdf.js/issues/9514 --- build/karma.conf.js | 2 +- src/lib/constants.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/karma.conf.js b/build/karma.conf.js index ee157ed74..e7426c067 100644 --- a/build/karma.conf.js +++ b/build/karma.conf.js @@ -3,7 +3,7 @@ const webpackConfig = require('./webpack.karma.config'); // These should be updated to match the Preview version in package.json whenever a file in that third party directory // is updated. Also, update the matching configuration in constants.js, which is needed for main preview functionality -const DOC_STATIC_ASSETS_VERSION = '1.30.0'; +const DOC_STATIC_ASSETS_VERSION = '1.17.0'; const MEDIA_STATIC_ASSETS_VERSION = '1.30.0'; const MODEL3D_STATIC_ASSETS_VERSION = '1.12.0'; const SWF_STATIC_ASSETS_VERSION = '0.112.0'; diff --git a/src/lib/constants.js b/src/lib/constants.js index e07909382..735462f4a 100644 --- a/src/lib/constants.js +++ b/src/lib/constants.js @@ -93,7 +93,7 @@ export const PDFJS_HEIGHT_PADDING_PX = 5; // Should match VERTICAL_PADDING in pd // These should be updated to match the Preview version in package.json whenever a file in that third party directory // is updated. Also, update the matching configuration in karma.conf.js, which is needed for tests -export const DOC_STATIC_ASSETS_VERSION = '1.30.0'; +export const DOC_STATIC_ASSETS_VERSION = '1.17.0'; export const MEDIA_STATIC_ASSETS_VERSION = '1.30.0'; export const MODEL3D_STATIC_ASSETS_VERSION = '1.12.0'; export const SWF_STATIC_ASSETS_VERSION = '0.112.0';