mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Updated a batch of JS components
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
import {Component} from "./component";
|
||||
|
||||
function reverseMap(map) {
|
||||
const reversed = {};
|
||||
for (const [key, value] of Object.entries(map)) {
|
||||
@ -6,10 +8,8 @@ function reverseMap(map) {
|
||||
return reversed;
|
||||
}
|
||||
|
||||
/**
|
||||
* @extends {Component}
|
||||
*/
|
||||
class Shortcuts {
|
||||
|
||||
export class Shortcuts extends Component {
|
||||
|
||||
setup() {
|
||||
this.container = this.$el;
|
||||
@ -159,6 +159,4 @@ class Shortcuts {
|
||||
|
||||
this.hintsShowing = false;
|
||||
}
|
||||
}
|
||||
|
||||
export default Shortcuts;
|
||||
}
|
Reference in New Issue
Block a user