blob: cbbdbc594c4c83c5db5cd0b0703cfda9d9d9610f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import { state } from './store';
export { default as Component } from './Component';
const debug = require('../../preload-safe-debug')(
'Ferdium:feature:publishDebugInfo',
);
export default function initialize(): void {
debug('Initialize publishDebugInfo feature');
const showModal = (): void => {
state.isModalVisible = true;
};
window['ferdium'].features.publishDebugInfo = { state, showModal };
}
|