Fix README typos.
parent
e0b919b2c8
commit
825554580a
|
|
@ -128,7 +128,7 @@ function clearTimeout(timeoutID){
|
||||||
}
|
}
|
||||||
// Simulate window for node-forge
|
// Simulate window for node-forge
|
||||||
var window = globalThis;
|
var window = globalThis;
|
||||||
// simulate atob for zgapdfsigner
|
// Simulate atob for zgapdfsigner
|
||||||
function atob(base64String) {
|
function atob(base64String) {
|
||||||
// 1. Decode Base64 string into a byte array
|
// 1. Decode Base64 string into a byte array
|
||||||
var decoded = Utilities.base64Decode(base64String);
|
var decoded = Utilities.base64Decode(base64String);
|
||||||
|
|
@ -139,7 +139,7 @@ function atob(base64String) {
|
||||||
// Since Google Apps Script's bytes are signed (-128 to 127), correct them to the range of 0-255
|
// Since Google Apps Script's bytes are signed (-128 to 127), correct them to the range of 0-255
|
||||||
return String.fromCharCode(byte & 0xFF);
|
return String.fromCharCode(byte & 0xFF);
|
||||||
}).join('');
|
}).join('');
|
||||||
};
|
}
|
||||||
|
|
||||||
// Load pdf-lib
|
// Load pdf-lib
|
||||||
eval(UrlFetchApp.fetch("https://unpkg.com/pdf-lib@1.17.1/dist/pdf-lib.min.js").getContentText());
|
eval(UrlFetchApp.fetch("https://unpkg.com/pdf-lib@1.17.1/dist/pdf-lib.min.js").getContentText());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue