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

Make Dict handle all the fetching of Refs.

This commit is contained in:
Brendan Dahl 2012-04-04 11:43:04 -07:00
parent 6ec62cd148
commit 8a45177be0
8 changed files with 109 additions and 102 deletions

View file

@ -79,7 +79,6 @@ Shadings.RadialAxial = (function RadialAxialClosure() {
this.extendEnd = extendEnd;
var fnObj = dict.get('Function');
fnObj = xref.fetchIfRef(fnObj);
if (isArray(fnObj))
error('No support for array of functions');
if (!isPDFFunction(fnObj))