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 Nov 21, 2016
1 parent 3438d50 commit fbf75dd
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/shared/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/shared/eventPlugins/SelectEventPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,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 fbf75dd

Please sign in to comment.