fixed es syntax for default value

This commit is contained in:
Libor M 2019-03-24 13:39:26 +01:00
parent a02ae98737
commit c8faebb6a5

View File

@ -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',