summaryrefslogtreecommitdiffstats
path: root/settings/js/authtoken.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-06-23 18:26:01 +0200
committerVincent Petry <pvince81@owncloud.com>2016-06-23 18:26:01 +0200
commitda4ba82b834f3485e82113b7cb6d1c5bd68ec315 (patch)
treedc2e895e11b804e917aec552d0cec679cef3ceca /settings/js/authtoken.js
parentcc2aec11af4df1cdc98f12036e59d7fbace19265 (diff)
downloadnextcloud-server-da4ba82b834f3485e82113b7cb6d1c5bd68ec315.tar.gz
nextcloud-server-da4ba82b834f3485e82113b7cb6d1c5bd68ec315.zip
Use OC.Backbone instead of Backbone directly in authtoken JS code
Fixes asset pipeline issue with the auth token in personal page
Diffstat (limited to 'settings/js/authtoken.js')
-rw-r--r--settings/js/authtoken.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/js/authtoken.js b/settings/js/authtoken.js
index 215192d7163..1d958a4d675 100644
--- a/settings/js/authtoken.js
+++ b/settings/js/authtoken.js
@@ -20,14 +20,14 @@
*
*/
-(function(OC, Backbone) {
+(function(OC) {
'use strict';
OC.Settings = OC.Settings || {};
- var AuthToken = Backbone.Model.extend({
+ var AuthToken = OC.Backbone.Model.extend({
});
OC.Settings.AuthToken = AuthToken;
-})(OC, Backbone);
+})(OC);