On 1 Dec 2005, at 15:38, John Sundman wrote:

1) Should LzTextFormat be rewritten as a .as file? That would make the documentation tools "just work" and get rid of the unwanted <LzTextFormat> tag.

2) Or, for the short term, should I just do the doc hack?

3) Architecturally speaking, what's the right solution? Was Ben "wrong" to implement this as an LZX file? Or should there be some kind of semantics defined such that you can define a class with the <class> tag and indicated that it's only for script use?

If it is meant to only be used in script, then it should be defined in script. Then you won't get the magic parallel tag interface.

<script>
  function LzTextFormat () {
    ...
  }
</script>

Perhaps we should also allow files consisting solely of script to have a .js suffix, but I don't think that is required to solve this issue.

_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to