Skip to content

Commit 40a140f

Browse files
committed
docs: fix docusaurus build fail issue
1 parent c0b53c4 commit 40a140f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/JSUtils/ScopeManager.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1511,8 +1511,7 @@ define(function (require, exports, module) {
15111511
/**
15121512
* Called each time the file associated with the active editor changes.
15131513
* Marks the file as being dirty.
1514-
*
1515-
* @param {{line:number, ch: number}} changeList {from: {line:number, ch: number}, to: {line:number, ch:number}}
1514+
* @param {{line:number, ch: number}} changeList - An object representing the change range with `from` and `to` properties, each containing `line` and `ch` numbers.
15161515
*/
15171516
function handleFileChange(changeList) {
15181517
isDocumentDirty = true;

src/command/KeyBindingManager.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -889,9 +889,10 @@ define(function (require, exports, module) {
889889
/**
890890
* Returns a copy of the current key map. If the optional 'defaults' parameter is true,
891891
* then a copy of the default key map is returned.
892+
* In the default keymap each key is associated with an object containing `commandID`, `key`, and `displayKey`.
892893
*
893894
* @param {boolean=} defaults true if the caller wants a copy of the default key map. Otherwise, the current active key map is returned.
894-
* @return {!Object.<string, {commandID: string, key: string, displayKey: string}>}
895+
* @return {Object}
895896
*/
896897
function getKeymap(defaults) {
897898
return $.extend({}, defaults ? _defaultKeyMap : _keyMap);
@@ -1239,7 +1240,7 @@ define(function (require, exports, module) {
12391240
document.body.classList.add('hide-cursor');
12401241
}
12411242
}
1242-
1243+
12431244
/**
12441245
* Handles a given keydown event, checking global hooks first before
12451246
* deciding to handle it ourselves.

src/widgets/Dialogs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ define(function (require, exports, module) {
468468
* @param {string} dlgClass A class name identifier for the dialog. Typically one of DefaultDialogs.*
469469
* @param {string=} title The title of the dialog. Can contain HTML markup. Defaults to "".
470470
* @param {string=} message The message to display in the dialog. Can contain HTML markup. Defaults to "".
471-
* @param {Array.<{className: string, id: string, text: string, tooltip:string}>=} buttons An array of buttons where each button
471+
* @param {Array.<Object>} buttons An array of buttons where each button
472472
* has a class, id tooltip, and text property. The id is used in "data-button-id". Defaults to a single Ok button.
473473
* Typically className is one of DIALOG_BTN_CLASS_*, id is one of DIALOG_BTN_*
474474
* @param {boolean=} autoDismiss Whether to automatically dismiss the dialog when one of the buttons

0 commit comments

Comments
 (0)