From facefb0c7910fe303325d96c35bdb0dbf91d7b6c Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Thu, 23 Feb 2017 16:35:35 -0600 Subject: [PATCH] Move compatibility code to the shared/compatibility.js. --- examples/components/pageviewer.html | 3 - examples/components/simpleviewer.html | 3 - examples/learning/helloworld64.html | 3 - gulpfile.js | 19 +- make.js | 1 - src/core/worker.js | 42 - src/shared/compatibility.js | 1775 +++++++++++++++++++++++++ src/shared/util.js | 1015 +------------- web/compatibility.js | 653 +-------- web/viewer.html | 4 +- 10 files changed, 1801 insertions(+), 1717 deletions(-) create mode 100644 src/shared/compatibility.js diff --git a/examples/components/pageviewer.html b/examples/components/pageviewer.html index aee52ad09..6e57aa39b 100644 --- a/examples/components/pageviewer.html +++ b/examples/components/pageviewer.html @@ -31,9 +31,6 @@ limitations under the License. - - - diff --git a/examples/components/simpleviewer.html b/examples/components/simpleviewer.html index 25dc7b71f..692d1ee04 100644 --- a/examples/components/simpleviewer.html +++ b/examples/components/simpleviewer.html @@ -37,9 +37,6 @@ limitations under the License. - - - diff --git a/examples/learning/helloworld64.html b/examples/learning/helloworld64.html index 891c2351d..0b2f09d0e 100644 --- a/examples/learning/helloworld64.html +++ b/examples/learning/helloworld64.html @@ -10,9 +10,6 @@ - - - + +