diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-06-23 18:26:01 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-06-23 18:26:01 +0200 |
commit | da4ba82b834f3485e82113b7cb6d1c5bd68ec315 (patch) | |
tree | dc2e895e11b804e917aec552d0cec679cef3ceca /settings/js/authtoken.js | |
parent | cc2aec11af4df1cdc98f12036e59d7fbace19265 (diff) | |
download | nextcloud-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.js | 6 |
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); |