Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-06-14 21:09:06 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-06-19 12:42:41 +0300
commit1ff3f578980a29aee8d952e4cd7df786e955acd7 (patch)
treeb3380cf8998281e852652256b6b1a18cb80bf0e1 /apps/oauth2/src/main.js
parent27259ea2a21cf0227be12bc9bfc2c997bc6ee44f (diff)
js-src => src
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/oauth2/src/main.js')
-rw-r--r--apps/oauth2/src/main.js35
1 files changed, 35 insertions, 0 deletions
diff --git a/apps/oauth2/src/main.js b/apps/oauth2/src/main.js
new file mode 100644
index 00000000000..ff68f48593d
--- /dev/null
+++ b/apps/oauth2/src/main.js
@@ -0,0 +1,35 @@
+/**
+ * @copyright Copyright (c) 2018 Roeland Jago Douma <roeland@famdouma.nl>
+ *
+ * @author Roeland Jago Douma <roeland@famdouma.nl>
+ *
+ * @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 App from './App.vue';
+
+Vue.prototype.t = t;
+Vue.prototype.oc_defaults = oc_defaults;
+Vue.prototype.OC = OC;
+
+const app = new Vue({
+ render: h => h(App)
+}).$mount('#oauth2');
+
+export { app };
+