From 0fc0b1b8aee42aeed274d2fa0fe5271c0ad50b8e Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 10 Feb 2014 08:54:46 -0500 Subject: [PATCH] chore(cloudcmd) indexProcessing: pData -> options --- cloudcmd.js | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/cloudcmd.js b/cloudcmd.js index fed63ff3..eac798bf 100644 --- a/cloudcmd.js +++ b/cloudcmd.js @@ -45,16 +45,15 @@ /** * additional processing of index file */ - function indexProcessing(pData) { - var lPath, lReplace, lKeysPanel, - left, right, + function indexProcessing(options) { + var keysPanel, left, right, LEFT = CloudFunc.PANEL_LEFT, RIGHT = CloudFunc.PANEL_RIGHT, - lData = pData.data, - panel = pData.panel; + data = options.data, + panel = options.panel; if (!Config.appCache) - lData = Util.removeStr(lData, [ + data = Util.removeStr(data, [ /* min */ ' manifest=/cloudcmd.appcache', /* normal */ @@ -63,7 +62,7 @@ if (!Config.showKeysPanel) { lKeysPanel = '