feature(json) rm ext, edit

This commit is contained in:
coderaiser 2015-03-19 11:41:41 -04:00
parent e03ac50239
commit b6d1c7dcd1
4 changed files with 1 additions and 201 deletions

View file

@ -1711,22 +1711,6 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
return ret;
};
this.getType = function(name, callback) {
DOM.Files.get('ext', function(error, extensions) {
var index,
ext = Util.getExt(name);
ext = extensions[ext];
if (ext) {
index = ext.indexOf('/') + 1;
ext = ext.substr(index);
}
Util.exec(callback, ext);
});
};
this.changePanel = function() {
var id, files, name,
Info = CurrentInfo,

View file

@ -14,7 +14,7 @@
var Promises = {},
Storage = DOM.Storage,
Files = this,
FILES_JSON = 'config|modules|ext|edit|menu',
FILES_JSON = 'config|modules',
FILES_HTML = 'file|path|link|pathLink|media',
FILES_HTML_ROOT = 'view/media-tmpl|config-tmpl|upload',
funcs = [],