aboutsummaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/js/settings.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/twofactor_backupcodes/js/settings.js')
-rw-r--r--apps/twofactor_backupcodes/js/settings.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/twofactor_backupcodes/js/settings.js b/apps/twofactor_backupcodes/js/settings.js
new file mode 100644
index 00000000000..a4045cbc118
--- /dev/null
+++ b/apps/twofactor_backupcodes/js/settings.js
@@ -0,0 +1,16 @@
+/* global OC */
+
+(function (OC) {
+ 'use strict';
+
+ OC.Settings = OC.Settings || {};
+ OC.Settings.TwoFactorBackupCodes = OC.Settings.TwoFactorBackupCodes || {};
+
+ $(function () {
+ var view = new OC.Settings.TwoFactorBackupCodes.View({
+ el: $('#twofactor-backupcodes-settings')
+ });
+ view.render();
+ });
+})(OC);
+