Sha256: e2f31b694192f23a3c841a2b67b6d1f5179a7bdf0cad8e060d87ffd3a6e2fe06

Contents?: true

Size: 1.02 KB

Versions: 2

Compression:

Stored size: 1.02 KB

Contents

<library>
    <!-- This little bit of code puts a white box in the top left corner
         that gives time to app init in milliseconds.-->
    <class name="inittimer" bgcolor="white" visible="true" options="ignorelayout">
        <handler name="oninit" reference="canvas">
            var d = new LzDelegate( mytext , "tellTime" );
            lz.Idle.callOnIdle( d );
            this.bringToFront();
        </handler>
        <text id="mytext" resize="true">
            <method name="tellTime" args="t">
                this.setAttribute('text', "Time taken: " + t );
            </method>
        </text>
    </class>

</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
* Copyright 2001-2004, 2008 Laszlo Systems, Inc.  All Rights Reserved.              *
* Use is subject to license terms.                                            *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@                                                         -->

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
leftplayer-0.1.1 src/lps-4.9.0/Server/lps-4.9.0/lps/components/utils/diagnostic/inittimer.lzx
leftplayer-0.1 src/lps-4.9.0/Server/lps-4.9.0/lps/components/utils/diagnostic/inittimer.lzx