[Laszlo-dev] new language feature proposal: <include type="script" .../>
jgrandy at openlaszlo.org
Tue Jan 16 09:22:09 PST 2007
Wouldn't <script href=""> be more descriptive, and more in line with
what other markup languages do?
On Jan 16, 2007, at 8:21 AM, Henry Minsky wrote:
> There's some code which Pablo wrote for the RPC libraries which
> basically just wants to include
> He had to wrap these files in <library><script> tags to get them to
> work with <include> in LZX.
> I propose an option to <include> which is a "type=script"
> attribute. If the tag compiler encounters this, it
> will just inline the contents of the included file directly at the
> top level, just like LFC code.
> So the library code which declares the <javarpc> class would say,
> for example
> <include href="rpc/rpc.lzx" />
> <include href="rpc/library/javarpc.js" type="script" />
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Laszlo-dev