~ | | This change ports the related user & object selctor JS to use ES6. This
|
| ~ | This change ports the related user & object selctor JS to use ES6. |
- | | is part of a multi-patch refactor to allow the user selector to support
|
- | | both single-valued and multi-valued inputs. |
| |
|
| | While porting the widget, I refactored
|
| | RB.RelatedObjectSelectorView.compareStrings function, which previously
|
| | would check for the presence of String.prototype.localeCompare on each
|
| | call, into a thin wrapper around either localeCompare (if defined) or
|
| | the fallback method. This way we only have to check for
|
| | localeCompare 's presence once. |