Choice widget annotations: core and display layer implementation

This commit is contained in:
Tim van der Meij 2016-09-25 01:45:49 +02:00
parent 6c263c1994
commit d5d9f362aa
4 changed files with 140 additions and 14 deletions

View file

@ -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) {