Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 631 Bytes

efw.register.md

File metadata and controls

25 lines (19 loc) · 631 Bytes

efw.register

The register function is established to register a key into efw to prevent the system from recognizing it as an illegal global variable.

Sample

load(_eventfolder+"/pdf-lib.min.js");
load(_eventfolder+"/fontkit.umd.min.js");
efw.register("PDFLib");
efw.register("fontkit");

API

CallingReturning
efw . register ( key )void
ParametersTypeDescription
keyStringThe name of the global variable to be registered.