Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
DOM: Export isSelectionForward
  • Loading branch information
aduth committed Feb 15, 2019
commit ef53b3254f7b6e0d44a126c3b25f8115f51fd949
6 changes: 5 additions & 1 deletion packages/dom/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## 2.0.9 (Unreleased)
## 2.1.0 (Unreleased)

### New Feature

- New function: `isSelectionForward( selection: Selection )`

### Bug Fix

Expand Down
2 changes: 1 addition & 1 deletion packages/dom/src/dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const {
*
* @return {boolean} Whether the selection is forward.
*/
function isSelectionForward( selection ) {
export function isSelectionForward( selection ) {
const {
anchorNode,
focusNode,
Expand Down