From 89b416c9f069b1fcbd21588957885240ed5c1c00 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 19 Nov 2013 07:52:17 +0000 Subject: [PATCH] chore(client) double setConfig --- lib/client.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/client.js b/lib/client.js index 3f4226b9..28cabf3d 100644 --- a/lib/client.js +++ b/lib/client.js @@ -299,8 +299,7 @@ var Util, DOM, CloudFunc, CloudCmd; return lGetSysFile; } - CloudCmd.setConfig = function(config) { Config = config }; - CloudCmd.setConfig = function(config) {Config = config}; + CloudCmd.setConfig = function(config) { Config = config; }; CloudCmd.getConfig = getSystemFile(Config, CloudCmd.JSONDIR + 'config.json'); CloudCmd.getModules = getSystemFile(Modules, CloudCmd.JSONDIR + 'modules.json'); CloudCmd.getFileTemplate = getSystemFile(FileTemplate, CloudCmd.HTMLDIR + 'file.html');