From 431e4fc9d1657a50ebc34b8ac24f9bfaea06417f Mon Sep 17 00:00:00 2001
From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com>
Date: Sat, 17 Sep 2022 19:39:05 +0800
Subject: Initial move to babel + change fetch to use async/await
---
src/features/featureBase/index.js | 24 ++++++++++++++++++++++++
src/features/featureBase/metadata.json | 8 ++++++++
2 files changed, 32 insertions(+)
create mode 100644 src/features/featureBase/index.js
create mode 100644 src/features/featureBase/metadata.json
(limited to 'src/features/featureBase')
diff --git a/src/features/featureBase/index.js b/src/features/featureBase/index.js
new file mode 100644
index 0000000..2a96a7f
--- /dev/null
+++ b/src/features/featureBase/index.js
@@ -0,0 +1,24 @@
+///
+///
+import Feature from "../../featureClass/class";
+
+class FeatureBase extends Feature {
+ constructor() {
+ super()
+ }
+
+ onEnable() {
+ this.initVariables()
+ }
+
+ initVariables() {
+ }
+
+ onDisable() {
+ this.initVariables()
+ }
+}
+
+module.exports = {
+ class: new FeatureBase()
+}
\ No newline at end of file
diff --git a/src/features/featureBase/metadata.json b/src/features/featureBase/metadata.json
new file mode 100644
index 0000000..a6b411d
--- /dev/null
+++ b/src/features/featureBase/metadata.json
@@ -0,0 +1,8 @@
+{
+ "name": "Feature Base",
+ "description": "Copy paste and edit this to create a new feature",
+ "isHidden": true,
+ "isTogglable": false,
+ "defaultEnabled": false,
+ "sortA": 1
+}
\ No newline at end of file
--
cgit