mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 17:48:07 +02:00
Merge pull request #8131 from timvandermeij/remove-umd-validation
ES6 modules: remove UMD header validation
This commit is contained in:
commit
46646a9dd1
7 changed files with 1 additions and 533 deletions
2
external/builder/preprocessor2.js
vendored
2
external/builder/preprocessor2.js
vendored
|
@ -294,7 +294,7 @@ function fixComments(ctx, node) {
|
|||
// Removes ESLint and other service comments.
|
||||
if (node.leadingComments) {
|
||||
var CopyrightRegExp = /\bcopyright\b/i;
|
||||
var BlockCommentRegExp = /^\s*(globals|eslint|falls through|umdutils)\b/;
|
||||
var BlockCommentRegExp = /^\s*(globals|eslint|falls through)\b/;
|
||||
var LineCommentRegExp = /^\s*eslint\b/;
|
||||
|
||||
var i = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue