aboutsummaryrefslogtreecommitdiffstats
path: root/settings/js/authtoken_collection.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_collection.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_collection.js')
-rw-r--r--settings/js/authtoken_collection.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/js/authtoken_collection.js b/settings/js/authtoken_collection.js
index a78e053995f..ab7f7d5804a 100644
--- a/settings/js/authtoken_collection.js
+++ b/settings/js/authtoken_collection.js
@@ -20,12 +20,12 @@
*
*/
-(function(OC, Backbone) {
+(function(OC) {
'use strict';
OC.Settings = OC.Settings || {};
- var AuthTokenCollection = Backbone.Collection.extend({
+ var AuthTokenCollection = OC.Backbone.Collection.extend({
model: OC.Settings.AuthToken,
@@ -49,4 +49,4 @@
OC.Settings.AuthTokenCollection = AuthTokenCollection;
-})(OC, Backbone);
+})(OC);