1
0
Fork 0
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:
Yury Delendik 2017-04-13 10:49:41 -05:00 committed by GitHub
commit 46646a9dd1
7 changed files with 1 additions and 533 deletions

View file

@ -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;