11-10-2009 01:58 AM
So I have been watching my site with each new Beta Release of the JDE 5.0
My site was working with the 4th Beta but now the 5th beta came out today and I noticed I have a JS error now...
This has an error:
new function()
{
var a = function()
{
if(true)
{
function b()
{
};
setTimeout(b,0);
}
}
}I can fix it by changing it to this:
new function()
{
var a = function()
{
if(true)
{
setTimeout(b,0);
function b()
{
};
}
}
}And this:
new function()
{
var a = function()
{
setTimeout(b,0);
function b()
{
};
}
}and this:
new function()
{
function a()
{
if(true)
{
function b()
{
};
setTimeout(b,0);
}
}
}
Anyone have any idea why this worked on black berry 5.0 beta 4 but not beta 5?
It works on all other browsers I test with (IE6-8/FF/Opera/Chrome/Safari/iPhone/Android/S60/e