Fixing typo in Dict

This commit is contained in:
Saebekassebil 2011-07-07 16:51:44 +02:00
parent 056a729115
commit 42cdf6bf02

4
pdf.js
View File

@ -1923,10 +1923,10 @@ var Dict = (function() {
constructor.prototype = {
get: function(key1, key2, key3) {
var value;
if (typeof (value = this.map[key1]) != 'undefined' || key1 in map || typeof key2 == 'undefined') {
if (typeof (value = this.map[key1]) != 'undefined' || key1 in this.map || typeof key2 == 'undefined') {
return value;
}
if (typeof (value = this.map[key2]) != 'undefined' || key2 in map || typeof key3 == 'undefined') {
if (typeof (value = this.map[key2]) != 'undefined' || key2 in this.map || typeof key3 == 'undefined') {
return value;
}