From a6c2fa183a80b5e88271a3f6e80f2d7a15c9b0fe Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 6 Dec 2013 16:00:27 +0000 Subject: [PATCH] refactor(client) private -> public: createFileTable --- lib/client.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/client.js b/lib/client.js index 5564d13e..3da247f0 100644 --- a/lib/client.js +++ b/lib/client.js @@ -353,7 +353,7 @@ var Util, DOM, CloudFunc, CloudCmd; if (lJSON) { lJSON = Util.parseJSON(lJSON); - createFileTable(lJSON); + CloudCmd.createFileTable(lJSON); } else lRet = true; @@ -370,7 +370,7 @@ var Util, DOM, CloudFunc, CloudCmd; }, success : function(pData) { - createFileTable(pData); + CloudCmd.createFileTable(pData); /* переводим таблицу файлов в строку, для * * сохранения в localStorage */ @@ -389,7 +389,7 @@ var Util, DOM, CloudFunc, CloudCmd; * Функция строит файловую таблицу * @param pJSON - данные о файлах */ - function createFileTable(pJSON) { + this.createFileTable = function(pJSON) { var files, panel = DOM.getPanel(), /* getting current element if was refresh */