Changeset - 7b73f54d84dc
default
0
1
0
js: refactor and simplify @mentions handling - no functional changes
The autocompleteCreate and get_mention functions are inlined.
The mentionQuery and tuple in datasource are replaced with before/search/after
data attributes on the $container element.
Variable use is simplified - less variables, better naming, and better content.
The @ is now in the before string, not in the search string.
The autocompleteCreate and get_mention functions are inlined.
The mentionQuery and tuple in datasource are replaced with before/search/after
data attributes on the $container element.
Variable use is simplified - less variables, better naming, and better content.
The @ is now in the before string, not in the search string.
1 file changed with 31 insertions and 73 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)