1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 07:08:08 +02:00
pdf.js/src
Jonas Jenwald 50c2856097 Move EOF/isEOF from core/parser.js to core/primitives.js
Given the nature of `EOF` and `isEOF`, it seems to me that they really ought to be placed in `core/primitives.js` instead.

In general, it doesn't seem great to have to depend on the entire `core/parser.js` file for such simple primitives/helper functions.
In particular, while `core/ps_parser.js` is completely separate from `core/parser.js` with regards to its function, it still depends on the latter for just *one* primitive.

Note that compared to e.g. PR 7389, this will not reduce the number of dependencies for `core/ps_parser`, however the new dependency IMHO makes more sense.
2017-01-27 13:37:48 +01:00
..
core Move EOF/isEOF from core/parser.js to core/primitives.js 2017-01-27 13:37:48 +01:00
display Adds noopener and nofollow to rel attribute of hyperlinks. 2017-01-23 10:34:27 -06:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
shared Merge pull request #7973 from Snuffleupagus/eslint_spaced-comment 2017-01-22 21:58:42 +01:00
doc_helper.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00
main_loader.js 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
pdf.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00
pdf.worker.entry.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00
worker_loader.js Replaces all preprocessor directives with PDFJSDev calls. 2016-10-14 10:57:53 -05:00