mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +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
13
gulpfile.js
13
gulpfile.js
|
@ -1101,19 +1101,6 @@ gulp.task('lint', function (done) {
|
|||
return;
|
||||
}
|
||||
|
||||
console.log();
|
||||
console.log('### Checking UMD dependencies');
|
||||
var umd = require('./external/umdutils/verifier.js');
|
||||
var paths = {
|
||||
'pdfjs': './src',
|
||||
'pdfjs-web': './web',
|
||||
'pdfjs-test': './test'
|
||||
};
|
||||
if (!umd.validateFiles(paths)) {
|
||||
done(new Error('UMD check failed.'));
|
||||
return;
|
||||
}
|
||||
|
||||
console.log();
|
||||
console.log('### Checking supplemental files');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue