[beast: 40/70] EBEAST: integrate mithril 1.0.1
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 40/70] EBEAST: integrate mithril 1.0.1
- Date: Tue, 28 Mar 2017 23:25:04 +0000 (UTC)
commit ceee6bbb3b14bec75152002d3c542838341e6435
Author: Tim Janik <timj gnu org>
Date: Mon Mar 6 00:50:07 2017 +0100
EBEAST: integrate mithril 1.0.1
Signed-off-by: Tim Janik <timj gnu org>
ebeast/index.html | 19 +++++++++++++------
ebeast/package.json.in | 2 +-
2 files changed, 14 insertions(+), 7 deletions(-)
---
diff --git a/ebeast/index.html b/ebeast/index.html
index cf4a22d..772e675 100644
--- a/ebeast/index.html
+++ b/ebeast/index.html
@@ -2,22 +2,29 @@
<html>
<head>
<title>BEAST</title>
+
<link rel="stylesheet" href="objects/app.css">
- <script>
- "use strict";
- const app = require ('electron').remote.app;
- const Bse = require ('./v8bse/v8bse.node');
- </script>
+
</head>
<body>
+ <script>
+ 'use strict';
+ const Electron = require ('electron').remote;
+ const Bse = require ('./v8bse/v8bse.node');
+ const Mithril = require ('mithril');
+ </script>
+
<div style="margin: 1em auto; overflow: auto; max-height: 100%; max-width: 100%;">
<h1 style="float:right; margin-top: 0">BEAST/BSE</h1>
<style>
table.version-table th { text-align: right; padding-right: .5em; }
table.version-table td { font-family: monospace; }
</style>
- <script> const os = require ('os'); </script>
+ <script>
+ const app = Electron.app;
+ const os = require ('os');
+ </script>
<table class="version-table">
<tr> <th> Application: </th> <td><script> document.write (app.getName() + ' ' + app.getVersion());
</script></td> </tr>
<tr> <th> OS: </th> <td><script> document.write (process.platform + ' ' + process.arch + ' ('
+ os.release() + ')'); </script></td> </tr>
diff --git a/ebeast/package.json.in b/ebeast/package.json.in
index 6b9df12..8692648 100644
--- a/ebeast/package.json.in
+++ b/ebeast/package.json.in
@@ -3,7 +3,7 @@
"version": "@MAJOR@.@MINOR@.@MICRO@",
"description": "Beast - Music Synthesizer and Composer",
"main": "main.js",
- "dependencies": { "electron": "^1.4.15" },
+ "dependencies": { "electron": "^1.4.15", "mithril": "^1.0.1" },
"devDependencies": { "node-gyp": "^3.5.0", "less": "^2.7.2",
"eslint": "^3.16.1", "eslint-plugin-html": "^2.0.1" },
"license": "LGPL-3.0",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]