[Laszlo-dev] should query args / command-line args override canvas attributes?

Henry Minsky henry.minsky at gmail.com
Thu Aug 31 09:30:50 PDT 2006


Yeah I think we got used to it as a convenience for unit tests, so you don't
need to specify the debug flag in the url.



On 8/31/06, P T Withington <ptw at openlaszlo.org> wrote:
>
> I think we should not even have debug as a canvas attribute.  Why
> would you want your source to specify that you were debugging?  (Only
> exception I can think of is lzunit, and it should just have an early
> assertion that causes the whole test to fail if the debugger is not
> present.)
>
> On 2006-08-30, at 22:47 EDT, Henry Minsky wrote:
>
> > If you have an app that declares
> >
> > <canvas debug='true'>
> >
> > and you then fetch myapp.lzx?debug=false
> >
> > should the query arg override the canvas attribute when compiling
> > the app?
> >
> > Currently it does not;  the canvas attribute takes final
> > precedence. That
> > seems a little
> > backwards to me, the query arg ought to be treated like a command
> > line arg
> > to the compiler
> > and should override the canvas app attributes. Anyone have any
> > feelings one
> > way or the other?
> >
> >
> >
> >
> > --
> > Henry Minsky
> > Software Architect
> > hminsky at laszlosystems.com
> >
> > _______________________________________________
> > Laszlo-dev mailing list
> > Laszlo-dev at openlaszlo.org
> > http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
>
>


-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20060831/a74051a3/attachment.html


More information about the Laszlo-dev mailing list