823 Star 4K Fork 1.3K

GVP雾渺 / KODExplorer

 / 详情

请问能增加js相关的注释吗

待办的
创建于  
2019-08-26 13:05

你好。我看源码看到static文件夹里面的js档案的时候,发现相关的代码用了大量的缩写以及完全没有注释,很难读懂。所以能不能麻烦阁下有空的话加上相关的注释,谢谢你。

还有就是我用debugger查看调用的控制器的时候,看到了会调用explorer.class.php的pathlist方法以及treelist方法。但是我全局搜寻了以后似乎也不肯定调用的地方在哪里。想问一下这两个调用的方法是不是都在js的文件里。因为我只找到这两个似乎相关的js文件里。我看的是3.32版本,因为您以前说过想看没有加密的util.php就是在这个里面。谢谢你。

_f5 = function (e, t, a) {
            if (void 0 == e && (e = !0), void 0 == t && (t = !1), _jsonSortTitle(), e) $.ajax({
                url: "index.php?explorer/pathList&path=" + urlEncode(G.this_path),
define("app/src/explorer/main", ["lib/jquery-lib", "lib/util", "lib/ztree/js/ztree", "lib/contextMenu/jquery-contextMenu", "lib/artDialog/jquery-artDialog", "lib/picasa/picasa", "./ui", "./fileSelect", "../../common/taskTap", "../../common/core", "../../tpl/copyright.html", "../../tpl/search.html", "../../tpl/search_list.html", "../../tpl/upload.html", "../../common/rightMenu", "../../common/tree", "../../common/pathOperate", "../../tpl/fileinfo/file_info.html", "../../tpl/fileinfo/path_info.html", "../../tpl/fileinfo/path_info_more.html", "../../tpl/share.html", "../../tpl/app.html", "../../common/pathOpen", "../../common/CMPlayer", "./path"], function (e) {
    Config = {
        BodyContent: ".bodymain",
        FileBoxSelector: ".fileContiner",
        FileBoxClass: ".fileContiner .file",
        FileBoxClassName: "file",
        FileBoxTittleClass: ".fileContiner .title",
        SelectClass: ".fileContiner .select",
        SelectClassName: "select",
        TypeFolderClass: "folderBox",
        TypeFileClass: "fileBox",
        HoverClassName: "hover",
        FileOrderAttr: "number",
        TreeId: "folderList",
        pageApp: "explorer",
        treeAjaxURL: "index.php?explorer/treeList&app=explorer",
        AnimateTime: 200
    },

评论 (0)

Milk 创建了任务

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(1)
PHP
1
https://gitee.com/kalcaddle/KODExplorer.git
git@gitee.com:kalcaddle/KODExplorer.git
kalcaddle
KODExplorer
KODExplorer

搜索帮助

14c37bed 8189591 565d56ea 8189591