34 Commits

Author SHA1 Message Date
Jonas Jenwald
71a781ee5c Deprecate the isValidUrl utility function and replace it with createValidAbsoluteUrl/isValidProtocal functions instead, since the main URL validation is now done using the new URL constructor 2016-10-19 22:11:22 +02:00
Yury Delendik
0576c9c6c6 Replaces all preprocessor directives with PDFJSDev calls. 2016-10-14 10:57:53 -05:00
Yury Delendik
1e3e14e6b2 Exposes all functional members via lib exports and use them in viewer. 2016-04-07 13:46:07 -05:00
Yury Delendik
1d12aed5ca Move all PDFJS.xxx settings into display/global. 2016-04-07 13:46:07 -05:00
Yury Delendik
a8e5912cb1 Moves shared/global to display/global 2016-03-23 19:24:37 -05:00
Yury Delendik
e372f3608b Makes WorkerMessageHandler non-global. 2016-03-23 19:24:37 -05:00
Yury Delendik
bda5e6235e Removes global PDFJS usage from the src/core/. 2016-03-23 19:24:37 -05:00
Yury Delendik
f340dd5cd5 Adds pdfjs/main_loader module to better mirror pdfjs-dist/build/pdf. 2015-12-30 13:28:57 -06:00
Yury Delendik
cbbb9bb82d Adds UMD header to pdf.js and pdf.worker.js files. 2015-12-29 18:15:14 -06:00
Yury Delendik
79c2f69c32 Adds/modifies examples for node.js and webpack. 2015-12-21 13:46:50 -06:00
Manas
a2ba1b8189 Uses editorconfig to maintain consistent coding styles
Removes the following as they unnecessary
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
2015-11-14 07:32:18 +05:30
Yury Delendik
28d340679a Uses document.currentScript for pdf.worker.js path. 2015-11-06 07:50:21 -06:00
Tim van der Meij
7586d777eb Enforcing JSHint's undef option 2014-07-19 16:41:07 +02:00
Mitar
2c82e720b8 Updated to current latest stable version of jshint. 2014-03-01 13:31:25 -08:00
Yury Delendik
3f530c43a9 Specifies default workerSrc (if possible) 2013-08-16 11:33:54 -05:00
Yury Delendik
04a7b036ec Preserving PDFJS in the generic builds 2013-06-24 20:55:12 -05:00
Yury Delendik
7b70710565 Traces pdf.js version 2013-01-04 11:01:31 -06:00
Brendan Dahl
332ae4ce41 Change to the Apache v2 license. 2012-08-31 15:48:21 -07:00
Brendan Dahl
492fa6edb4 Add the new preprocessor. 2012-08-01 11:55:39 -07:00
Artur Adib
385b6df2b4 Linting 2011-11-18 13:54:27 -05:00
Artur Adib
5e0d704b12 Macro for generating version information 2011-11-17 15:45:33 -05:00
Julian Viereck
3b7829d057 Address review comments. Use only one PDFJS.workerSrc variable to specify the worker source 2011-11-01 19:32:20 +01:00
Julian Viereck
1e6d1f9922 Make worker support work again after file split. Add PDFJS_WORKER_DIR/PDFJS_WORKER_FILE to specify where to load files if worker support is enabled 2011-10-28 14:32:36 +02:00
Kalervo Kujala
7e6a589074 Fix js strict warning in worker.js.
Also fix a few minor nits.
2011-10-27 21:51:10 +03:00
Artur Adib
1d4e3025b6 PDF --> PDFJS, global wrapper named 2011-10-26 14:46:57 -04:00
Artur Adib
df7baea6d2 Lint 2011-10-25 22:51:08 -04:00
Artur Adib
0aae9ef880 nit 2011-10-25 17:38:28 -07:00
Artur Adib
0075007d49 Production scripts 2011-10-25 17:22:45 -07:00
Artur Adib
2e0af76865 Viewer working with dev version 2011-10-25 15:43:41 -07:00
Artur Adib
3a8aad0f36 Linting 2011-10-25 10:43:28 -07:00
Artur Adib
21753b9e89 Only one worker file, bundled in pdf.js 2011-10-25 10:16:20 -07:00
Artur Adib
8fbb05613e Progress 2011-10-25 09:10:56 -07:00
Artur Adib
889de3fc4d make pdfjs 2011-10-24 18:13:12 -07:00
Artur Adib
a7278b7fbc Splitting files 2011-10-24 16:55:23 -07:00