summaryrefslogtreecommitdiffstats
path: root/src/ostatus.js
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-02-05 14:55:21 +0100
committerJulius Härtl <jus@bitgrid.net>2019-02-20 20:58:32 +0100
commit5f0fa2cbc1b83fc7f3146ac06feb783227455c63 (patch)
tree3cdfbdcb48498e5890fbbd8fdf18a3b9adfa14a6 /src/ostatus.js
parent910583e12233d3282f5aeeb678c6aa420f25be0f (diff)
Implement frontend for ostatus popup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/ostatus.js')
-rw-r--r--src/ostatus.js41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/ostatus.js b/src/ostatus.js
new file mode 100644
index 00000000..b02f6b7e
--- /dev/null
+++ b/src/ostatus.js
@@ -0,0 +1,41 @@
+/*
+ * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
+ *
+ * @author Julius Härtl <jus@bitgrid.net>
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+import Vue from 'vue'
+import store from './store'
+import OStatus from './views/OStatus'
+
+// eslint-disable-next-line
+__webpack_nonce__ = btoa(OC.requestToken)
+// eslint-disable-next-line
+__webpack_public_path__ = OC.linkTo('social', 'js/')
+
+Vue.prototype.t = t
+Vue.prototype.n = n
+Vue.prototype.OC = OC
+Vue.prototype.OCA = OCA
+
+/* eslint-disable-next-line no-new */
+new Vue({
+ render: h => h(OStatus),
+ store: store
+}).$mount('#vue-content')