summaryrefslogtreecommitdiff
path: root/web-ui/app/js/index.js
blob: 2f06e2b804cef245edbc53e9dfa69fe728d76fb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import 'js/lib/highlightRegex';
import 'js/monkey_patching/all';

import compose from 'flight/lib/compose';
import registry from 'flight/lib/registry';
import advice from 'flight/lib/advice';
import withLogging from 'flight/lib/logger';
import debug from 'flight/lib/debug';
import events from 'page/events';
import initializeDefault from 'page/default';

window.Pixelated = window.Pixelated || {};
window.Pixelated.events = events;

compose.mixin(registry, [advice.withAdvice, withLogging]);

debug.enable(true);
debug.events.logAll();

initializeDefault('');