1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Merge pull request #9624 from wojtekmaj/no-warning-on-dependency-operator

Prevent warning on unimplemented operator thrown for OPS.dependency
This commit is contained in:
Brendan Dahl 2018-04-03 10:55:29 -07:00 committed by GitHub
commit e8cf7fd512
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -530,6 +530,9 @@ SVGGraphics = (function SVGGraphicsClosure() {
case OPS.beginText:
this.beginText();
break;
case OPS.dependency:
// Handled in loadDependencies, warning should not be thrown
break;
case OPS.setLeading:
this.setLeading(args);
break;