Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #10225 from adobe/zaggino/doc-fix
Browse files Browse the repository at this point in the history
Update 'addBinding' documentation in KeyBindingManager.
  • Loading branch information
redmunds committed Dec 20, 2014
2 parents 5ecc4ff + a4c8bb1 commit a84b2d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/command/KeyBindingManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -826,6 +826,7 @@ define(function (require, exports, module) {
* @param {?string} platform The target OS of the keyBindings either
* "mac", "win" or "linux". If undefined, all platforms not explicitly
* defined will use the key binding.
* NOTE: If platform is not specified, Ctrl will be replaced by Cmd for "mac" platform
* @return {{key: string, displayKey:String}|Array.<{key: string, displayKey:String}>}
* Returns record(s) for valid key binding(s)
*/
Expand Down Expand Up @@ -1451,4 +1452,4 @@ define(function (require, exports, module) {
// For unit testing only
exports._handleKey = _handleKey;
exports._handleKeyEvent = _handleKeyEvent;
});
});

0 comments on commit a84b2d7

Please sign in to comment.