Merge pull request #13416 from calixteman/xfa_config
XFA - Fix wrong function name
This commit is contained in:
commit
b2ffebe978
@ -112,7 +112,7 @@ class Area extends XFAObject {
|
|||||||
this.level = getInteger({
|
this.level = getInteger({
|
||||||
data: attributes.level,
|
data: attributes.level,
|
||||||
defaultValue: 0,
|
defaultValue: 0,
|
||||||
validator: n => n >= 1 && n <= 3,
|
validate: n => n >= 1 && n <= 3,
|
||||||
});
|
});
|
||||||
this.name = getStringOption(attributes.name, [
|
this.name = getStringOption(attributes.name, [
|
||||||
"",
|
"",
|
||||||
@ -403,7 +403,7 @@ class Equate extends XFAObject {
|
|||||||
this.force = getInteger({
|
this.force = getInteger({
|
||||||
data: attributes.force,
|
data: attributes.force,
|
||||||
defaultValue: 1,
|
defaultValue: 1,
|
||||||
validator: n => n === 0,
|
validate: n => n === 0,
|
||||||
});
|
});
|
||||||
|
|
||||||
this.from = attributes.from || "";
|
this.from = attributes.from || "";
|
||||||
@ -723,12 +723,12 @@ class PageOffset extends XFAObject {
|
|||||||
this.x = getInteger({
|
this.x = getInteger({
|
||||||
data: attributes.x,
|
data: attributes.x,
|
||||||
defaultValue: "useXDCSetting",
|
defaultValue: "useXDCSetting",
|
||||||
validator: n => true,
|
validate: n => true,
|
||||||
});
|
});
|
||||||
this.y = getInteger({
|
this.y = getInteger({
|
||||||
data: attributes.y,
|
data: attributes.y,
|
||||||
defaultValue: "useXDCSetting",
|
defaultValue: "useXDCSetting",
|
||||||
validator: n => true,
|
validate: n => true,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1159,7 +1159,7 @@ class TemplateCache extends XFAObject {
|
|||||||
this.maxEntries = getInteger({
|
this.maxEntries = getInteger({
|
||||||
data: attributes.maxEntries,
|
data: attributes.maxEntries,
|
||||||
defaultValue: 5,
|
defaultValue: 5,
|
||||||
validator: n => n >= 0,
|
validate: n => n >= 0,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user