summaryrefslogtreecommitdiffstats
path: root/core/js/oc-backbone.js
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2015-08-06 12:08:42 +0200
committerArthur Schiwon <blizzz@owncloud.com>2015-08-06 12:08:42 +0200
commit67bb5712e4f1264003cd944e186d13a3c83908b8 (patch)
tree0b7e6443777bdd0ebbf3641a1c598a87bfc3ae3f /core/js/oc-backbone.js
parentcc4a2a472735313c5eae1a9c7d4ff4a177b80c44 (diff)
downloadnextcloud-server-67bb5712e4f1264003cd944e186d13a3c83908b8.tar.gz
nextcloud-server-67bb5712e4f1264003cd944e186d13a3c83908b8.zip
make available as OC.Backbone to avoid conflicts
Diffstat (limited to 'core/js/oc-backbone.js')
-rw-r--r--core/js/oc-backbone.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/js/oc-backbone.js b/core/js/oc-backbone.js
new file mode 100644
index 00000000000..75a40979340
--- /dev/null
+++ b/core/js/oc-backbone.js
@@ -0,0 +1,12 @@
+/*
+ * Copyright (c) 2015
+ *
+ * This file is licensed under the Affero General Public License version 3
+ * or later.
+ *
+ * See the COPYING-README file.
+ *
+ */
+if(!_.isUndefined(Backbone)) {
+ OC.Backbone = Backbone.noConflict();
+}