From 0f3e6cb50af06bf3a64ea7f1abd360c53fa0bf8c Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Mon, 23 Jun 2014 23:56:10 +0200 Subject: Improved Javascript docs for JSDoc Added namespaces so that JSDoc can find them. Fixed a few warnings. Improved some comments. --- apps/files_versions/js/versions.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/files_versions') diff --git a/apps/files_versions/js/versions.js b/apps/files_versions/js/versions.js index 64e0df76490..1a47c1749f9 100644 --- a/apps/files_versions/js/versions.js +++ b/apps/files_versions/js/versions.js @@ -11,6 +11,8 @@ /* global scanFiles, escapeHTML, formatDate */ $(document).ready(function(){ + // TODO: namespace all this as OCA.FileVersions + if ($('#isPublic').val()){ // no versions actions in public mode // beware of https://github.com/owncloud/core/issues/4545 -- cgit v1.2.3