so://phie

outline

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

blob: 7ebed84284028ca606dd3134b4df4d3a37258273 (499 bytes)[doc][blame][raw]

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

2

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

4

5const path = isApp() ? './app/index.js' : './home/index.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}