mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Move focusManager to ES6
This commit is contained in:
parent
7f72eca5fa
commit
32e3df7801
4 changed files with 7 additions and 5 deletions
|
@ -1,4 +1,6 @@
|
|||
define(['dom', 'scrollManager'], function (dom, scrollManager) {
|
||||
import dom from 'dom';
|
||||
import scrollManager from 'scrollManager';
|
||||
|
||||
'use strict';
|
||||
|
||||
var scopes = [];
|
||||
|
@ -472,7 +474,7 @@ define(['dom', 'scrollManager'], function (dom, scrollManager) {
|
|||
}
|
||||
}
|
||||
|
||||
return {
|
||||
export default {
|
||||
autoFocus: autoFocus,
|
||||
focus: focus,
|
||||
focusableParent: focusableParent,
|
||||
|
@ -505,4 +507,3 @@ define(['dom', 'scrollManager'], function (dom, scrollManager) {
|
|||
focusLast: focusLast,
|
||||
moveFocus: moveFocus
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue