[Laszlo-dev] DHTML runtime and unnecessary semicolons

Raju Bitter r.bitter.mailinglists at googlemail.com
Fri Jun 10 02:06:38 PDT 2011


Thanks, Don.

On Thu, Jun 9, 2011 at 6:36 PM, Donald Anderson <dda at ddanderson.com> wrote:
> Hello Raju,
> Thanks for reporting this.
> It appears that this is a side effect of a change I made to increase
> efficiency by eliminating with this.
> I've made a JIRA: http://jira.openlaszlo.org/jira/browse/LPP-9959
> - Don
> On Jun 8, 2011, at 7:38 AM, Raju Bitter wrote:
>
> An empty canvas compiled to the DHTML runtime generates a JavaScript
> file with a very large number of unnecessary semicolons at the start
> of the JS file:
>
> LZX: <canvas></canvas>
>
> JS:
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> canvas = new LzCanvas(null, {
>    $CSSDescriptor: {},
>    $attributeDescriptor: {
>        types: {
>            aaactive: "boolean",....
>
> Why are all those semicolons generated?
>
>
>
> --
> Don Anderson
> Java/C/C++, Berkeley DB, systems consultant
>
> voice: 617-306-2057
> email: dda at ddanderson.com
> www: http://www.ddanderson.com
> blog: http://libdb.wordpress.com
>
>
>
>
>



More information about the Laszlo-dev mailing list