mirror of
https://github.com/foliojs/pdfkit.git
synced 2025-12-08 20:15:54 +00:00
fixed es syntax for default value
This commit is contained in:
parent
a02ae98737
commit
c8faebb6a5
@ -39,10 +39,7 @@ export default {
|
||||
return this.annotate(x, y, w, h, options);
|
||||
},
|
||||
|
||||
goTo(x, y, w, h, name, options) {
|
||||
if (options == null) {
|
||||
options = {};
|
||||
}
|
||||
goTo(x, y, w, h, name, options = {}) {
|
||||
options.Subtype = 'Link';
|
||||
options.A = this.ref({
|
||||
S: 'GoTo',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user