1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-26 18:58:21 +02:00

Started bridge between backend and frontend

This commit is contained in:
Laurent Cozic 2017-11-04 13:31:51 +00:00
parent 056c0dbab7
commit d35bd7906b
3 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,5 @@
require('app-module-path').addPath(__dirname);
const { BaseApplication } = require('lib/BaseApplication');
const { FoldersScreenUtils } = require('lib/folders-screen-utils.js');
const { Setting } = require('lib/models/setting.js');

View File

@ -0,0 +1,2 @@
require('app-module-path').addPath(__dirname);
const app = require('./app.js').app;

View File

@ -3,11 +3,15 @@
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
<script src="app.js"></script>
</head>
<body>
<h1>Hello World!</h1>
We are using node <script>document.write(process.versions.node)</script>,
Chrome <script>document.write(process.versions.chrome)</script>,
and Electron <script>document.write(process.versions.electron)</script>.
<script>
//console.info(initApp);
</script>
</body>
</html>