1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-31 01:12:27 +01:00

with (liberator)

This commit is contained in:
Kris Maglione
2008-10-13 00:50:03 +00:00
parent 45a1334cc0
commit cd0fb01dd4
21 changed files with 2024 additions and 2046 deletions

View File

@@ -398,8 +398,8 @@ const liberator = (function () //{{{
{
if (count > 1)
{
let each, eachUnits, totalUnits;
let total = 0;
var beforeTime = Date.now();
for (let i in liberator.util.rangeInterruptable(0, count, 500))
{
@@ -413,23 +413,23 @@ const liberator = (function () //{{{
if (total / count >= 100)
{
var each = (total / 1000.0) / count;
var eachUnits = "sec";
each = total / 1000.0 / count;
eachUnits = "sec";
}
else
{
var each = total / count;
var eachUnits = "msec";
each = total / count;
eachUnits = "msec";
}
if (total >= 100)
{
var total = total / 1000.0;
var totalUnits = "sec";
total = total / 1000.0;
totalUnits = "sec";
}
else
{
var totalUnits = "msec";
totalUnits = "msec";
}
var str = liberator.template.generic(