mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
feature(client) add getExt
This commit is contained in:
parent
68a12b2f56
commit
2b35b44291
1 changed files with 2 additions and 1 deletions
|
|
@ -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');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue