mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 09:45:42 +02:00
Choice widget annotations: core and display layer implementation
This commit is contained in:
parent
6c263c1994
commit
d5d9f362aa
4 changed files with 140 additions and 14 deletions
|
@ -873,15 +873,15 @@ var Util = (function UtilClosure() {
|
|||
}
|
||||
};
|
||||
|
||||
Util.getInheritableProperty = function Util_getInheritableProperty(dict,
|
||||
name) {
|
||||
Util.getInheritableProperty =
|
||||
function Util_getInheritableProperty(dict, name, getArray) {
|
||||
while (dict && !dict.has(name)) {
|
||||
dict = dict.get('Parent');
|
||||
}
|
||||
if (!dict) {
|
||||
return null;
|
||||
}
|
||||
return dict.get(name);
|
||||
return getArray ? dict.getArray(name) : dict.get(name);
|
||||
};
|
||||
|
||||
Util.inherit = function Util_inherit(sub, base, prototype) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue