diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-01-28 17:00:56 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-01-29 08:40:19 +0100 |
commit | aa2ff51a122432d2aea376ca028179c5b5a70a33 (patch) | |
tree | 630d55417d09ac73a7ce7b262af135f722ebdd17 /core/src/OC/index.js | |
parent | 198a45ff75c64d38c1ccb6bd903ee55b446177b3 (diff) | |
download | nextcloud-server-aa2ff51a122432d2aea376ca028179c5b5a70a33.tar.gz nextcloud-server-aa2ff51a122432d2aea376ca028179c5b5a70a33.zip |
Move OC.Contactsmenu and OC.Backbone to the server bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/src/OC/index.js')
-rw-r--r-- | core/src/OC/index.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/core/src/OC/index.js b/core/src/OC/index.js index 6ae1dc12c90..f7f5018253c 100644 --- a/core/src/OC/index.js +++ b/core/src/OC/index.js @@ -19,9 +19,21 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +import Backbone from 'backbone'; + import Apps from './apps' +import ContactsMenu from './contactsmenu'; +import {davCall, davSync} from './backbone-webdav'; + +// Patch Backbone for DAV +Object.assign(Backbone, { + davCall, + davSync, +}); /** @namespace OC */ export default { Apps, + Backbone, + ContactsMenu, }; |