Fix Ticker.poke() call for log(); add _mobile suffix to editor events
This commit is contained in:
Родитель
4de8cc264f
Коммит
12b8c1f1bd
|
@ -969,7 +969,6 @@ module TDev {
|
|||
|
||||
if (!initialized || disabled) return;
|
||||
|
||||
poke();
|
||||
checkDate();
|
||||
|
||||
var m = <TickEvent>{ timestamp: Util.now(), event: t, arg: arg }
|
||||
|
@ -982,6 +981,9 @@ module TDev {
|
|||
logIdx = 0;
|
||||
}
|
||||
|
||||
if (t != Ticks.dbgEvent)
|
||||
poke();
|
||||
|
||||
// this one we only wanted logged, not counted
|
||||
if (t != Ticks.dbgEvent && shouldStoreTick(tn)) {
|
||||
if (sessionEvents[tn])
|
||||
|
@ -1017,6 +1019,8 @@ module TDev {
|
|||
{
|
||||
var id = getCurrentEditorId();
|
||||
if (id && !document.hidden && lastPoke) {
|
||||
if (Browser.isCellphone)
|
||||
id += "_mobile"
|
||||
rawTick("editor_" + id)
|
||||
lastPoke = 0;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче