#1723 Add time to read into the status bar

Add new statuses:
TB - book time to read
TC - chapter time to read

Fix backward compatible in statistics plugin
This commit is contained in:
Alex Pletnev
2015-11-27 17:13:01 +02:00
parent 239ee06fb8
commit ce4e32e01c
4 changed files with 93 additions and 34 deletions

View File

@@ -25,10 +25,4 @@ function tableutil.spairs(t, order)
end
end
function tableutil.tablelength(T)
local count = 0
for _ in pairs(T) do count = count + 1 end
return count
end
return tableutil