[beast: 12/47] EBEAST: add vc/ directory for vue components
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 12/47] EBEAST: add vc/ directory for vue components
- Date: Sat, 2 Sep 2017 00:42:56 +0000 (UTC)
commit 369cd4f1778baf68136f59df0faaf8ac42032406
Author: Tim Janik <timj gnu org>
Date: Sun Apr 2 12:36:06 2017 +0200
EBEAST: add vc/ directory for vue components
Signed-off-by: Tim Janik <timj gnu org>
ebeast/.eslintrc.js | 1 +
ebeast/vc/includes.js | 7 +++++++
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/ebeast/.eslintrc.js b/ebeast/.eslintrc.js
index 510c9b8..acacfde 100644
--- a/ebeast/.eslintrc.js
+++ b/ebeast/.eslintrc.js
@@ -8,6 +8,7 @@ module.exports = {
"globals": {
"Electron": false,
"Mithril": false,
+ "Vue": false,
"Bse": false,
"App": false,
"module": true /* allow mods */
diff --git a/ebeast/vc/includes.js b/ebeast/vc/includes.js
new file mode 100644
index 0000000..ab7c791
--- /dev/null
+++ b/ebeast/vc/includes.js
@@ -0,0 +1,7 @@
+// GNU LGPL v2.1+: http://www.gnu.org/licenses/lgpl.html
+'use strict';
+
+// load Vue core
+const Vue = require ('vue/dist/vue.common.js');
+window.Vue = Vue;
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]