HomePhabricator

Make ve.SelectionState#flip return an actual SelectionState

This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Make ve.SelectionState#flip return an actual SelectionState

Rather than returning a plain object that looks a lot like
a SelectionState but doesn't have any methods.

This caused a JS error in a Firefox-specific code path
in ve.ce.Surface#showSelectionState.

Bug: T106270
Change-Id: I0e140908b6628b73d630816a67bb0f89c413796d

Details

Provenance
CatropeAuthored on
Jdforrester-WMFCommitted on Jul 21 2015, 7:46 PM
ChangeId
I0e140908b6628b73d630816a67bb0f89c413796d

Commit No Longer Exists

This commit no longer exists in the repository.