Skip to content

Commit

Permalink
Merge pull request #8131 from timvandermeij/remove-umd-validation
Browse files Browse the repository at this point in the history
ES6 modules: remove UMD header validation
  • Loading branch information
yurydelendik authored Apr 13, 2017
2 parents b529df4 + 5eb090f commit 46646a9
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 533 deletions.
2 changes: 1 addition & 1 deletion external/builder/preprocessor2.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading

0 comments on commit 46646a9

Please sign in to comment.