Jonas Jenwald
c3c1fc511d
Move the workerSrc
option from the global PDFJS
object and into GlobalWorkerOptions
instead
2018-02-16 13:22:35 +01:00
Tim van der Meij
1f9878ea71
Use setPDFNetworkStreamFactory
in the helloworld
and svgviewer
examples
...
This patch fixes a regression from #9363 , causing the examples not to
load anymore.
2018-02-04 19:32:47 +01:00
FAREAST\wenxh
585cd933b7
Fix the helloworld example by setting the PDFNetworkStream class (PR 8712 follow-up)
2017-09-06 00:47:35 +08:00
Jonas Jenwald
1f6de75585
Fix the helloworld example by importing the network.js
file (PR 8617 follow-up)
...
Fixes https://stackoverflow.com/q/45393309/5317012
2017-07-29 22:47:46 +02:00
Yury Delendik
a18caa730d
Adds gulp dist-install command; using pdfjs-dist package in examples.
2017-06-12 10:22:16 -05:00
Yury Delendik
5b50e0d414
Replaces RequireJS to SystemJS.
2017-02-27 08:32:39 -06:00
Yury Delendik
1e3e14e6b2
Exposes all functional members via lib exports and use them in viewer.
2016-04-07 13:46:07 -05:00
Tim van der Meij
b8aaa24257
Convert all node make
instances to gulp
2016-03-04 20:30:36 +01:00
Yury Delendik
85e95d34ed
Use RequireJS in the viewer, examples and tests.
2015-12-29 09:20:52 -06:00
Yury Delendik
6b60c8f4db
Adds UMD headers to core, display and shared files.
2015-12-15 13:24:39 -06:00
Tim van der Meij
91274d6d2d
Rename annotation_helper.js to annotation_layer.js
2015-12-02 23:30:28 +01:00
Yury Delendik
56ccaea99b
Move text layer building logic into src/display/text_layer.js
2015-11-19 10:50:27 -06:00
Yury Delendik
2f34fd46cb
Move CustomStyle.
2015-11-19 10:47:17 -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
Tim van der Meij
70cba472e0
Improve the instructions for the 'hello world' example
2015-03-18 22:27:00 +01:00
Tim van der Meij
fcefcb7e7e
Remove broken links from hello world example
2015-03-18 20:59:14 +01:00
Collin Anderson
54e984c763
cleaned whitespace
2015-02-17 11:07:37 -05:00
Yury Delendik
bdeca30fbf
Splits shared/annotation.js into core/ and display/
2014-06-17 17:43:33 -05:00
Yury Delendik
fcc4dfd9b5
Moves shared/function.js to core/
2014-05-23 14:11:47 -05:00
Yury Delendik
7a19085159
Moves shared/colorspace.js into core/
2014-05-23 14:11:47 -05:00
Michał Gołębiowski
e625af3fef
Remove type="text/javascript" from script tags.
...
"text/javascript" is not a correct MIME type (the correct one is
"application/javascript") but it's not even needed; all browsers default
to the correct type and treat it as executable JS when type is ommited.
Since not all browsers recognize the "application/javascript" MIME type
the only way to both stay compliant and to support all popular browsers
is to omit the type. It's also shorter this way.
2014-05-13 02:41:01 +02:00
Yury Delendik
f57c6935d7
Implements WebGL support
2014-04-03 08:36:22 -05:00
Yury Delendik
bf432a37bb
Refactors shared/pattern.js into core/ and display/
2014-01-25 12:18:22 -06:00
Brendan Dahl
7563a9dfa0
Update docs on the workerSrc setting.
2013-11-18 14:37:01 -08:00
Brendan Dahl
bb2529de03
Move the creation of canvas path fonts to the worker.
2013-08-19 16:33:20 -07:00
Brendan Dahl
5ecce4996b
Split files into worker and main thread pieces.
2013-08-12 10:48:06 -07:00
Tim van der Meij
2ac858fc68
Fixing #3318
2013-06-02 23:51:08 +02:00
Mack Duan
f8f4b3f45d
Refactor code for annotations
2013-05-07 14:22:13 -04:00
Mack Duan
ef423ef30c
Implement progressive loading of PDFs
2013-04-12 16:13:22 -07:00
Yury Delendik
306092f53e
Add jbig2 references to examples and make.js
2012-06-22 06:41:28 -05:00
Yury Delendik
b312719d7e
Fixes test driver and examples
2012-04-12 08:23:38 -07:00
notmasteryet
bfd1d427c7
Adding jpx.js to examples and Makefile
2012-01-18 20:17:50 -06:00
Brendan Dahl
9bb2b881b0
Adds cmyk jpg support. Treats the cmyk jpg as a regular stream.
2011-11-08 08:48:10 -08: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
Artur Adib
1d4e3025b6
PDF --> PDFJS, global wrapper named
2011-10-26 14:46:57 -04:00
Artur Adib
0075007d49
Production scripts
2011-10-25 17:22:45 -07:00
Artur Adib
74015f70ee
hello world fixed
2011-10-25 10:53:18 -07:00
=
2ad1e622ab
Move remaining worker.js code into pdf.js.
2011-10-20 12:13:18 -07:00
Julian Viereck
a6180830f8
Fix hello world example
2011-10-08 23:02:56 +02:00
Kalervo Kujala
de408dac70
Fix lint warnings.
...
And name anonymous functions.
2011-09-27 21:43:48 +03:00
Artur Adib
83854a085c
Implemented getPdf(). Closes #516
...
Conflicts:
examples/helloworld/hello.js
2011-09-27 13:30:47 -04:00
Andreas Gal
6ae80b5e78
Merge pull request #534 from kkujala/master
...
Fix lint warnings in hello.js.
2011-09-26 14:50:05 -07:00
Kalervo Kujala
d4723cf1cf
Fix lint warnings in hello.js.
...
Also split the long lines in README.
2011-09-26 23:28:16 +03:00
Artur Adib
125c1fe473
Fixed Hello World example: PDFDoc(raw_data)
...
As per #532
2011-09-26 14:40:32 -04:00
Artur Adib
bc91b98fc8
Addressing comments by Vivien
2011-09-16 08:28:42 -07:00
Artur Adib
3476364886
Moved helloworld/ to examples/helloworld/
2011-09-16 08:28:42 -07:00