Skip to content

Commit

Permalink
Merge pull request #9624 from wojtekmaj/no-warning-on-dependency-oper…
Browse files Browse the repository at this point in the history
…ator

Prevent warning on unimplemented operator thrown for OPS.dependency
  • Loading branch information
brendandahl authored Apr 3, 2018
2 parents d21eece + acc0a0f commit e8cf7fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/display/svg.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e8cf7fd

Please sign in to comment.