From 9f62059efa869ff677130f06bf1b46be49950515 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Tue, 11 Feb 2014 16:52:56 +0100 Subject: Fix file summary to use the whole file list - moved the summary code into a new class FileSummary - FileSummary is calculated only once, then updated with add/remove - added new OC.Util namespace for JS utility functions --- core/js/js.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/js/js.js') diff --git a/core/js/js.js b/core/js/js.js index 0aa8d12b3d6..325be6cdc53 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -1253,6 +1253,9 @@ function relative_modified_date(timestamp) { * @todo Write documentation */ OC.Util = { + // TODO: remove original functions from global namespace + humanFileSize: humanFileSize, + formatDate: formatDate, /** * Returns whether the browser supports SVG * @return {boolean} true if the browser supports SVG, false otherwise -- cgit v1.2.3