mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
refactor(listeners) 5000 -> FIVE_SECONDS
This commit is contained in:
parent
90f944cb63
commit
9c3a0cd079
1 changed files with 3 additions and 2 deletions
|
|
@ -13,11 +13,12 @@ var Util, DOM, CloudCmd;
|
|||
CloudCmd.getConfig(function(config) {
|
||||
if (config.analytics) {
|
||||
Events.addOneTime('mousemove', function(){
|
||||
var lUrl = CloudCmd.LIBDIRCLIENT + 'analytics.js';
|
||||
var FIVE_SECONDS = 5000,
|
||||
lUrl = CloudCmd.LIBDIRCLIENT + 'analytics.js';
|
||||
|
||||
setTimeout(function(){
|
||||
DOM.jsload(lUrl);
|
||||
}, 5000);
|
||||
}, FIVE_SECONDS);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue