mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
chore(listeners) rm unused vars
This commit is contained in:
parent
2f57779367
commit
3a61ef3764
1 changed files with 3 additions and 5 deletions
|
|
@ -49,8 +49,7 @@ var Util, DOM, CloudCmd;
|
|||
};
|
||||
|
||||
this.initKeysPanel = function() {
|
||||
var button, id, func,
|
||||
keysElement = DOM.getByClass('keyspanel');
|
||||
var keysElement = DOM.getByClass('keyspanel');
|
||||
|
||||
if (keysElement)
|
||||
Events.addClick(function(event) {
|
||||
|
|
@ -138,7 +137,7 @@ var Util, DOM, CloudCmd;
|
|||
* @param panelId
|
||||
*/
|
||||
this.changeLinks = function(panelId) {
|
||||
var i, n, a, ai, current, link, loadDir, events, id,
|
||||
var i, n, a, ai, current, id,
|
||||
panel = DOM.getById(panelId),
|
||||
filesElement = DOM.getByClass('files', panel),
|
||||
files = filesElement.children;
|
||||
|
|
@ -212,8 +211,7 @@ var Util, DOM, CloudCmd;
|
|||
|
||||
function onContextMenu(event) {
|
||||
var element = getLIElement(event.target),
|
||||
isFunc = Util.isFunction(CloudCmd.Menu),
|
||||
Key = CloudCmd.Key;
|
||||
isFunc = Util.isFunction(CloudCmd.Menu);
|
||||
|
||||
DOM.setCurrentFile(element);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue