The script below used to have clearTimeout in the else statement, but that no longer works (clearTimeout not…

The script below used to have clearTimeout in the else statement, but that no longer works (clearTimeout not defined). It does work taking it out, but will cause any issues with memory, etc,?

]]>

3 Commentsto The script below used to have clearTimeout in the else statement, but that no longer works (clearTimeout not…

  1. Anonymous says:

    < ![CDATA[

    (function(){


    var c = LL.getContainerById(101);


    var p = c.getPositionY();


    if (p < 1692){


    c.setPosition(0, p+12, 1, true);


    setTimeout(arguments.callee, 80);


    } else {


    c.setPosition(0, 0, 1, true);


    }


    })();

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Yes, due to changes to the internal script engine, at the moment only what is documented here is available: http://www.pierrox.net/android/applications/lightning_launcher/script/reference/net/pierrox/lightning_launcher/script/api/Window.html


    This is less than previously, but I will add more functions as needed.


    Not calling clearTimeout will not cause leak, but it means that the function will be called once more

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Thanks Pierre.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *