Moving xml to outer file and now html simple and xml direct from Cyprian

Also, cleaned makefile, less magic strings
This commit is contained in:
2020-01-14 00:03:42 +01:00
parent b2d1441e9a
commit 38fe7a5740
4 changed files with 138 additions and 80 deletions

7
src/local.js Normal file
View File

@@ -0,0 +1,7 @@
var fs = require('fs');
var div = document.getElementById("app");
var editable = true;
var entry = {"content": fs.readFileSync('vsms1.xml', 'utf8')};
plugin_init(div, entry, editable);
plugin_render(div, entry);