Skip to content

Commit

Permalink
More accurate jsdoc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
acusti committed Oct 4, 2016
1 parent b7c70b6 commit 74e565d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderers/dom/client/ReactInputSelection.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ var ReactInputSelection = {
},

/**
* @setSelection: Sets the selection bounds of a textarea or input and focuses
* the input.
* @setSelection: Sets the selection bounds of a textarea, input or
* contentEditable node.
* -@input Set selection bounds of this input or textarea
* -@offsets Object of same form that is returned from get*
*/
Expand Down
1 change: 1 addition & 0 deletions src/renderers/dom/client/eventPlugins/SelectEventPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ function getSelection(node) {
* Poll selection to see whether it's changed.
*
* @param {object} nativeEvent
* @param {object} nativeEventTarget
* @return {?SyntheticEvent}
*/
function constructSelectEvent(nativeEvent, nativeEventTarget) {
Expand Down

0 comments on commit 74e565d

Please sign in to comment.