Bugfix/separate declaration from exposition (#245)
* Separate definition from exposition * Suppress previous documentation before generating new one * Restore deleted line * Set up verbosity to provide details on what's going onmaster
parent
76db126ec7
commit
d098dc0914
|
@ -17,6 +17,7 @@
|
||||||
},
|
},
|
||||||
"opts":{
|
"opts":{
|
||||||
"recurse": true,
|
"recurse": true,
|
||||||
|
"verbose": true,
|
||||||
"destination": ".jsdoc/out"
|
"destination": ".jsdoc/out"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -95,7 +95,8 @@ function getMessageListener (t) {
|
||||||
* messages will be allowed when same origin is not used; defaults to none.
|
* messages will be allowed when same origin is not used; defaults to none.
|
||||||
* If supplied, it should probably be the same as svgEditor's allowedOrigins
|
* If supplied, it should probably be the same as svgEditor's allowedOrigins
|
||||||
*/
|
*/
|
||||||
export default class EmbeddedSVGEdit {
|
|
||||||
|
class EmbeddedSVGEdit {
|
||||||
constructor (frame, allowedOrigins) {
|
constructor (frame, allowedOrigins) {
|
||||||
this.allowedOrigins = allowedOrigins || [];
|
this.allowedOrigins = allowedOrigins || [];
|
||||||
// Initialize communication
|
// Initialize communication
|
||||||
|
@ -167,3 +168,5 @@ export default class EmbeddedSVGEdit {
|
||||||
return cbid;
|
return cbid;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export default EmbeddedSVGEdit;
|
||||||
|
|
|
@ -49,7 +49,7 @@ import {
|
||||||
* A value of null is valid for cases where no history recording is required.
|
* A value of null is valid for cases where no history recording is required.
|
||||||
* See singleton: HistoryRecordingService.NO_HISTORY
|
* See singleton: HistoryRecordingService.NO_HISTORY
|
||||||
*/
|
*/
|
||||||
export default class HistoryRecordingService {
|
class HistoryRecordingService {
|
||||||
constructor (undoManager) {
|
constructor (undoManager) {
|
||||||
this.undoManager_ = undoManager;
|
this.undoManager_ = undoManager;
|
||||||
this.currentBatchCommand_ = null;
|
this.currentBatchCommand_ = null;
|
||||||
|
@ -158,3 +158,4 @@ export default class HistoryRecordingService {
|
||||||
* @property {HistoryRecordingService} NO_HISTORY - Singleton that can be passed to functions that record history, but the caller requires that no history be recorded.
|
* @property {HistoryRecordingService} NO_HISTORY - Singleton that can be passed to functions that record history, but the caller requires that no history be recorded.
|
||||||
*/
|
*/
|
||||||
HistoryRecordingService.NO_HISTORY = new HistoryRecordingService();
|
HistoryRecordingService.NO_HISTORY = new HistoryRecordingService();
|
||||||
|
export default HistoryRecordingService;
|
||||||
|
|
|
@ -19,7 +19,7 @@ Math.precision = function (value, precision) {
|
||||||
return Math.round(value * Math.pow(10, precision)) / Math.pow(10, precision);
|
return Math.round(value * Math.pow(10, precision)) / Math.pow(10, precision);
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function ($) {
|
const jPicker = function ($) {
|
||||||
if (!$.loadingStylesheets) {
|
if (!$.loadingStylesheets) {
|
||||||
$.loadingStylesheets = [];
|
$.loadingStylesheets = [];
|
||||||
}
|
}
|
||||||
|
@ -1885,3 +1885,5 @@ export default function ($) {
|
||||||
};
|
};
|
||||||
return $;
|
return $;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export default jPicker;
|
||||||
|
|
|
@ -28,7 +28,7 @@ const $ = jQuery;
|
||||||
* @param {SVGGElement=} svgElem - The SVG DOM element. If defined, use this to add
|
* @param {SVGGElement=} svgElem - The SVG DOM element. If defined, use this to add
|
||||||
* a new layer to the document.
|
* a new layer to the document.
|
||||||
*/
|
*/
|
||||||
export default class Layer {
|
class Layer {
|
||||||
constructor (name, group, svgElem) {
|
constructor (name, group, svgElem) {
|
||||||
this.name_ = name;
|
this.name_ = name;
|
||||||
this.group_ = svgElem ? null : group;
|
this.group_ = svgElem ? null : group;
|
||||||
|
@ -208,3 +208,5 @@ function addLayerClass (elem) {
|
||||||
elem.setAttribute('class', classes + ' ' + Layer.CLASS_NAME);
|
elem.setAttribute('class', classes + ' ' + Layer.CLASS_NAME);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export default Layer;
|
||||||
|
|
|
@ -84,7 +84,7 @@ if (window.opera) {
|
||||||
* @param container - The container HTML element that should hold the SVG root element
|
* @param container - The container HTML element that should hold the SVG root element
|
||||||
* @param {Object} config - An object that contains configuration data
|
* @param {Object} config - An object that contains configuration data
|
||||||
*/
|
*/
|
||||||
export default class {
|
class SvgCanvas {
|
||||||
constructor (container, config) {
|
constructor (container, config) {
|
||||||
// Alias Namespace constants
|
// Alias Namespace constants
|
||||||
|
|
||||||
|
@ -6111,3 +6111,5 @@ this.getPrivateMethods = function () {
|
||||||
};
|
};
|
||||||
} // End constructor
|
} // End constructor
|
||||||
} // End class
|
} // End class
|
||||||
|
|
||||||
|
export default SvgCanvas;
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
"engines": {},
|
"engines": {},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build-config": "rollup -c rollup-config.config.js",
|
"build-config": "rollup -c rollup-config.config.js",
|
||||||
"build-doc": "jsdoc -c .jsdoc/configuration.json .",
|
"build-doc": "rm -rf .jsdoc/out/*;jsdoc -c .jsdoc/configuration.json .",
|
||||||
"build-html": "node build-html.js",
|
"build-html": "node build-html.js",
|
||||||
"compress-images": "imageoptim 'chrome-app/*.png' && imageoptim 'editor/extensions/*.png' && imageoptim 'editor/spinbtn/*.png' && imageoptim 'editor/jgraduate/images/*.{png,gif}' && imageoptim 'editor/images/*.png'",
|
"compress-images": "imageoptim 'chrome-app/*.png' && imageoptim 'editor/extensions/*.png' && imageoptim 'editor/spinbtn/*.png' && imageoptim 'editor/jgraduate/images/*.{png,gif}' && imageoptim 'editor/images/*.png'",
|
||||||
"copy-deps": "cp node_modules/load-stylesheets/dist/index-es.js editor/external/load-stylesheets/index-es.js && cp node_modules/babel-polyfill/dist/polyfill.min.js editor/external/babel-polyfill/polyfill.min.js && cp node_modules/babel-polyfill/dist/polyfill.js editor/external/babel-polyfill/polyfill.js",
|
"copy-deps": "cp node_modules/load-stylesheets/dist/index-es.js editor/external/load-stylesheets/index-es.js && cp node_modules/babel-polyfill/dist/polyfill.min.js editor/external/babel-polyfill/polyfill.min.js && cp node_modules/babel-polyfill/dist/polyfill.js editor/external/babel-polyfill/polyfill.js",
|
||||||
|
|
Loading…
Reference in New Issue