- Refactoring: Reorder path config to group (non-modular-dependent) image
paths together (and correct code comment) - Docs: CHANGES clarifications/fixes - Docs: Migrations documents section - Docs: Add code comment re: use of `extIconsPath` in Mathjax - Docs: Add JSDoc indicate @this for `ExtensionInitResponse#callback` - Build: Update build files - npm: Bump to 3.1.0
This commit is contained in:
2
dist/extensions/ext-mathjax.js
vendored
2
dist/extensions/ext-mathjax.js
vendored
@@ -238,6 +238,8 @@ var svgEditorExtension_mathjax = (function () {
|
||||
svgEditor.curConfig.extIconsPath + mathjaxSrcSecure
|
||||
);
|
||||
*/
|
||||
// We use `extIconsPath` here for now as it does not vary with
|
||||
// the modular type as does `extPath`
|
||||
|
||||
importScript(svgEditor.curConfig.extIconsPath + mathjaxSrcSecure).then(function () {
|
||||
// When MathJax is loaded get the div where the math will be rendered.
|
||||
|
||||
15
dist/index-es.js
vendored
15
dist/index-es.js
vendored
@@ -14294,6 +14294,7 @@ function SvgCanvas(container, config) {
|
||||
|
||||
/**
|
||||
* @function module:svgcanvas.ExtensionInitResponse#callback
|
||||
* @this module:SVGEditor
|
||||
* @param {module:svgcanvas.SvgCanvas#event:ext-callback} arg
|
||||
* @returns {undefined}
|
||||
*/
|
||||
@@ -27724,17 +27725,17 @@ defaultConfig = {
|
||||
no_save_warning: false,
|
||||
// PATH CONFIGURATION
|
||||
// The following path configuration items are disallowed in the URL (as should any future path configurations)
|
||||
imgPath: 'images/',
|
||||
langPath: 'locale/',
|
||||
// Default will be changed if this is a modular load
|
||||
// Default will be changed if this is a non-modular load
|
||||
extPath: 'extensions/',
|
||||
// Default will be changed if this is a modular load
|
||||
// Default will be changed if this is a non-modular load
|
||||
canvgPath: 'canvg/',
|
||||
// Default will be changed if this is a modular load
|
||||
// Default will be changed if this is a non-modular load
|
||||
jspdfPath: 'jspdf/',
|
||||
// Default will be changed if this is a modular load
|
||||
extIconsPath: 'extensions/',
|
||||
// Default will be changed if this is a non-modular load
|
||||
imgPath: 'images/',
|
||||
jGraduatePath: 'jgraduate/images/',
|
||||
extIconsPath: 'extensions/',
|
||||
// DOCUMENT PROPERTIES
|
||||
// Change the following to a preference (already in the Document Properties dialog)?
|
||||
dimensions: [640, 480],
|
||||
@@ -28275,7 +28276,7 @@ editor.init = function () {
|
||||
// ways with other script resources
|
||||
|
||||
|
||||
['extPath', 'imgPath', 'extIconsPath', 'canvgPath', 'langPath', 'jGraduatePath', 'jspdfPath'].forEach(function (pathConfig) {
|
||||
['langPath', 'extPath', 'canvgPath', 'jspdfPath', 'imgPath', 'jGraduatePath', 'extIconsPath'].forEach(function (pathConfig) {
|
||||
if (urldata[pathConfig]) {
|
||||
delete urldata[pathConfig];
|
||||
}
|
||||
|
||||
2
dist/index-es.min.js
vendored
2
dist/index-es.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/index-es.min.js.map
vendored
2
dist/index-es.min.js.map
vendored
File diff suppressed because one or more lines are too long
15
dist/index-umd.js
vendored
15
dist/index-umd.js
vendored
@@ -14300,6 +14300,7 @@
|
||||
|
||||
/**
|
||||
* @function module:svgcanvas.ExtensionInitResponse#callback
|
||||
* @this module:SVGEditor
|
||||
* @param {module:svgcanvas.SvgCanvas#event:ext-callback} arg
|
||||
* @returns {undefined}
|
||||
*/
|
||||
@@ -27730,17 +27731,17 @@
|
||||
no_save_warning: false,
|
||||
// PATH CONFIGURATION
|
||||
// The following path configuration items are disallowed in the URL (as should any future path configurations)
|
||||
imgPath: 'images/',
|
||||
langPath: 'locale/',
|
||||
// Default will be changed if this is a modular load
|
||||
// Default will be changed if this is a non-modular load
|
||||
extPath: 'extensions/',
|
||||
// Default will be changed if this is a modular load
|
||||
// Default will be changed if this is a non-modular load
|
||||
canvgPath: 'canvg/',
|
||||
// Default will be changed if this is a modular load
|
||||
// Default will be changed if this is a non-modular load
|
||||
jspdfPath: 'jspdf/',
|
||||
// Default will be changed if this is a modular load
|
||||
extIconsPath: 'extensions/',
|
||||
// Default will be changed if this is a non-modular load
|
||||
imgPath: 'images/',
|
||||
jGraduatePath: 'jgraduate/images/',
|
||||
extIconsPath: 'extensions/',
|
||||
// DOCUMENT PROPERTIES
|
||||
// Change the following to a preference (already in the Document Properties dialog)?
|
||||
dimensions: [640, 480],
|
||||
@@ -28281,7 +28282,7 @@
|
||||
// ways with other script resources
|
||||
|
||||
|
||||
['extPath', 'imgPath', 'extIconsPath', 'canvgPath', 'langPath', 'jGraduatePath', 'jspdfPath'].forEach(function (pathConfig) {
|
||||
['langPath', 'extPath', 'canvgPath', 'jspdfPath', 'imgPath', 'jGraduatePath', 'extIconsPath'].forEach(function (pathConfig) {
|
||||
if (urldata[pathConfig]) {
|
||||
delete urldata[pathConfig];
|
||||
}
|
||||
|
||||
2
dist/index-umd.min.js
vendored
2
dist/index-umd.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/index-umd.min.js.map
vendored
2
dist/index-umd.min.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user