Since that mixin isn't really doing anything, you should be able to just
get rid of it. See tests/mixin for an example of how to do this in LZX,
or http://jira.openlaszlo.org/jira/browse/LPP-2302 for the gory details.
Once we get all the code converted back to LZX syntax, we might want to
add a mixin that implements the runtime-specific bits.
Sarah Allen wrote:
I'm refactoring the av mediastream component to be regular LZX, but I'm
not familiar with the mixin syntax and I can find documentation about
(no luck with google or the ref guide... maybe I'm blind)
Here's the snippet that I want to write the "new" way...
<script when="immediate"><![CDATA[
mixin NewmediastreamShared {
function NewmediastreamShared ( parent:LzView? = null ,
attrs:Object? = null , children:Array? = null, instcall:Boolean = false) {
super(parent, attrs, children, instcall);
}
}
]]></script-->
(Trying to avoid that nasty setter bug, which I think is at the root of
why recording is broken)
Sarah
--
Regards,
Max Carlson
OpenLaszlo.org