so://phie

outline

A web-based drawing app
git clone git://soophie.de/outline

blob: 657ffcaa5c1bc75c5fe06e2f4da4c2410b0a9490 (487 bytes)[doc][blame][raw]

1import { isApp } from './util.js';

2

3import ripple from './mod/ripple.js';

4

5const path = isApp() ? './app.js' : './home.js';

6

7window.addEventListener('load', init);

8

9async function init() {

10 console.log('%cOutline', 'font-size: 24px; font-weight: 600;');

11 console.log('%cDraw with friends together.\n', 'font-size: 14px;');

12 console.log('Found a bug? Tell us:', 'https://github.com/typable/outline/issues/new/choose');

13

14 const index = await import(path);

15 index.init();

16 ripple.init();

17}