mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +02:00
JS -- add function eMailValidate used to validate an email address
This commit is contained in:
parent
b194c820bf
commit
f94269c0d1
3 changed files with 29 additions and 1 deletions
|
@ -92,7 +92,7 @@ function initSandbox({ data, extra, out }) {
|
|||
out.zoomtype = ZoomType;
|
||||
|
||||
for (const name of Object.getOwnPropertyNames(AForm.prototype)) {
|
||||
if (name.startsWith("AF")) {
|
||||
if (name !== "constructor" && !name.startsWith("_")) {
|
||||
out[name] = aform[name].bind(aform);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue