mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
refactor(listeners) ifExecNotUL -> execIfNotUL
This commit is contained in:
parent
1b000bc063
commit
ec9a78a27a
1 changed files with 5 additions and 5 deletions
|
|
@ -12,12 +12,12 @@ var Util, DOM, CloudCmd;
|
|||
getConfig = CloudCmd.getConfig,
|
||||
OnPathLinks = [],
|
||||
EventsFiles = {
|
||||
'mousedown' : Util.bind(ifExecNotUL, setCurrentFileByEvent),
|
||||
'mousedown' : Util.bind(execIfNotUL, setCurrentFileByEvent),
|
||||
'contextmenu' : onContextMenu,
|
||||
'dragstart' : Util.bind(ifExecNotUL, onDragStart),
|
||||
'dragstart' : Util.bind(execIfNotUL, onDragStart),
|
||||
'click' : onClick,
|
||||
'dblclick' : Util.bind(ifExecNotUL, onDblClick),
|
||||
'touchstart' : Util.bind(ifExecNotUL, onTouch)
|
||||
'dblclick' : Util.bind(execIfNotUL, onDblClick),
|
||||
'touchstart' : Util.bind(execIfNotUL, onTouch)
|
||||
};
|
||||
|
||||
this.analytics = function() {
|
||||
|
|
@ -179,7 +179,7 @@ var Util, DOM, CloudCmd;
|
|||
});
|
||||
}
|
||||
|
||||
function ifExecNotUL(callback, event) {
|
||||
function execIfNotUL(callback, event) {
|
||||
var element = event.target,
|
||||
tag = element.tagName;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue