1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

get shavian-load test working

This commit is contained in:
Chris Jones 2011-07-05 18:46:08 -04:00
parent 7d54de5b32
commit b1f717cb7f
2 changed files with 3 additions and 2 deletions

1
pdf.js
View file

@ -3566,6 +3566,7 @@ var CanvasGraphics = (function() {
},
execute: function(code, xref, resources) {
resources = xref.fetchIfRef(resources) || new Dict();
var savedXref = this.xref, savedRes = this.res, savedXobjs = this.xobjs;
this.xref = xref;
this.res = resources || new Dict();