[ace2_inner] remove incorpIfQuick because its unused since July

pull/2028/head
webzwo0i 2013-12-08 17:15:38 +01:00
parent 4044d5ae47
commit f25fed1c25
1 changed files with 0 additions and 28 deletions

View File

@ -1173,34 +1173,6 @@ function Ace2Inner(){
}
editorInfo.ace_fastIncorp = fastIncorp;
function incorpIfQuick()
{
var me = incorpIfQuick;
var failures = (me.failures || 0);
if (failures < 5)
{
var isTimeUp = newTimeLimit(40);
var madeChanges = incorporateUserChanges(isTimeUp);
if (isTimeUp())
{
me.failures = failures + 1;
}
return true;
}
else
{
var skipCount = (me.skipCount || 0);
skipCount++;
if (skipCount == 20)
{
skipCount = 0;
me.failures = 0;
}
me.skipCount = skipCount;
}
return false;
}
var idleWorkTimer = makeIdleAction(function()
{