diff --git a/lib/client.js b/lib/client.js index e2e9bb03..05a7df01 100644 --- a/lib/client.js +++ b/lib/client.js @@ -7,7 +7,7 @@ var Util, DOM, CloudFunc, CloudCmd; (function(Util, DOM) { 'use strict'; - var Key, Config, Modules, FileTemplate, PathTemplate, Listeners, + var Key, Config, Modules, Extensions, FileTemplate, PathTemplate, Listeners, Storage = DOM.Storage; CloudCmd = { @@ -302,6 +302,7 @@ var Util, DOM, CloudFunc, CloudCmd; CloudCmd.setConfig = function(config) { Config = config; }; CloudCmd.getConfig = getSystemFile(Config, CloudCmd.JSONDIR + 'config.json'); CloudCmd.getModules = getSystemFile(Modules, CloudCmd.JSONDIR + 'modules.json'); + CloudCmd.getExt = getSystemFile(Extensions, CloudCmd.JSONDIR + 'ext.json'); CloudCmd.getFileTemplate = getSystemFile(FileTemplate, CloudCmd.HTMLDIR + 'file.html'); CloudCmd.getPathTemplate = getSystemFile(PathTemplate, CloudCmd.HTMLDIR + 'path.html');