Add the docBaseUrl API parameter to AppOptions in the viewer

This unfortunately required a bit of special handling, to correctly deal with the various extension builds.
This commit is contained in:
Jonas Jenwald 2019-07-20 13:39:34 +02:00
parent 0cc0789af3
commit ba2c042a75
2 changed files with 19 additions and 7 deletions

View file

@ -105,6 +105,9 @@ const defaultOptions = {
value: false,
kind: OptionKind.VIEWER + OptionKind.PREFERENCE,
},
/**
* The `printResolution` is, conditionally, defined below.
*/
renderer: {
/** @type {string} */
value: 'canvas',
@ -183,6 +186,11 @@ const defaultOptions = {
value: false,
kind: OptionKind.API + OptionKind.PREFERENCE,
},
docBaseUrl: {
/** @type {string} */
value: '',
kind: OptionKind.API,
},
isEvalSupported: {
/** @type {boolean} */
value: true,