From d71ca48654ddca2863e790f9b6f37603da1dbeac Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Thu, 19 Jul 2018 16:15:37 -0700 Subject: [PATCH] - Docs: A couple JSDoc fixes --- editor/extensions/ext-markers.js | 2 +- editor/svg-editor.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/extensions/ext-markers.js b/editor/extensions/ext-markers.js index 62b30396..1876b87a 100644 --- a/editor/extensions/ext-markers.js +++ b/editor/extensions/ext-markers.js @@ -44,7 +44,7 @@ export default { // note - to add additional marker types add them below with a unique id // and add the associated icon(s) to marker-icons.svg - // the geometry is normallized to a 100x100 box with the origin at lower left + // the geometry is normalized to a 100x100 box with the origin at lower left // Safari did not like negative values for low left of viewBox // remember that the coordinate system has +y downward const markerTypes = { diff --git a/editor/svg-editor.js b/editor/svg-editor.js index 02aded0b..30844c6b 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -3053,7 +3053,7 @@ editor.init = function () { * @property {string} title The tooltip text that will appear when the user hovers over the icon. Required. * @property {PlainObject.|PlainObject.<"click", external:jQuery.Function>} events DOM event names with associated functions. Example: `{click () { alert('Button was clicked') } }`. Click is used with `includeWith` and `type` of "mode_flyout" (and "mode"); any events may be added if `list` is not present. Expected. * @property {string} panel The ID of the context panel to be included, if type is "context". Required only if type is "context". - * @property {string} icon The file path to the raster version of the icon image source. Required only if no `svgicon` is supplied. + * @property {string} icon The file path to the raster version of the icon image source. Required only if no `svgicons` is supplied from [ExtensionInitResponse]{@link module:svgcanvas.ExtensionInitResponse}. * @property {string} [svgicon] If absent, will utilize the button "id"; used to set "placement" on the `svgIcons` call * @property {string} [list] Points to the "id" of a `context_tools` item of type "button-select" into which the button will be added as a panel list item * @property {Integer} [position] The numeric index for placement; defaults to last position (as of the time of extension addition) if not present. For use with {@link http://api.jquery.com/eq/}.