aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/app.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-11-13 11:16:08 +0100
committerVincent Petry <pvince81@owncloud.com>2014-11-13 11:16:08 +0100
commit5ca869c3241d159b2bd2c45b79c49b085c277968 (patch)
tree8146e2a6f6d4b45be7952d2692aaae05e3a877a6 /apps/files/js/app.js
parenta069171cda9f1f0ec129018c15e9696ae44c7154 (diff)
parent0f3e6cb50af06bf3a64ea7f1abd360c53fa0bf8c (diff)
downloadnextcloud-server-5ca869c3241d159b2bd2c45b79c49b085c277968.tar.gz
nextcloud-server-5ca869c3241d159b2bd2c45b79c49b085c277968.zip
Merge pull request #9177 from owncloud/jsdocexperiment
Improved JS Docs + added build script for JS Docs
Diffstat (limited to 'apps/files/js/app.js')
-rw-r--r--apps/files/js/app.js25
1 files changed, 23 insertions, 2 deletions
diff --git a/apps/files/js/app.js b/apps/files/js/app.js
index 89098e3a8a3..ee5330485e7 100644
--- a/apps/files/js/app.js
+++ b/apps/files/js/app.js
@@ -15,12 +15,34 @@
(function() {
if (!OCA.Files) {
+ /**
+ * Namespace for the files app
+ * @namespace OCA.Files
+ */
OCA.Files = {};
}
- var App = {
+ /**
+ * @namespace OCA.Files.App
+ */
+ OCA.Files.App = {
+ /**
+ * Navigation control
+ *
+ * @member {OCA.Files.Navigation}
+ */
navigation: null,
+ /**
+ * File list for the "All files" section.
+ *
+ * @member {OCA.Files.FileList}
+ */
+ fileList: null,
+
+ /**
+ * Initializes the files app
+ */
initialize: function() {
this.navigation = new OCA.Files.Navigation($('#app-navigation'));
@@ -191,7 +213,6 @@
OC.Util.History.pushState(params);
}
};
- OCA.Files.App = App;
})();
$(document).ready(function() {