[General] Using ChangeSet: TypeError Perhaps Relating to Namespace/Using?
robert.krahn at student.hpi.uni-potsdam.de
Thu Feb 26 09:33:34 CET 2009
the expression fails because you do not pass in the current
WorldMorph. When you do that (http://livelykernel.sunlabs.com/repository/lively-wiki/testworld.xhtml
) then everything works fine.
Like I mentioned before you can use this.setOpacity(0.3); instead of
On Feb 25, 2009, at 9:12 PM, Philip Weaver wrote:
> I am getting a type error when I try to instantiate a very simple
> class contained in my ChangeSet. My code all works fine locally but
> I'm loading from a linked js file and not using the ChangeSet
> locally. I suspect that maybe the issue is that I'm not using
> namespace/using() but hopefully you can point me in the right
> direction. It's imperative to me that I keep my code in packages/
> I created two wiki pages with very simple ChangeSets. This simplest
> one works fine when I evaluate the text in the TextMorph.
> This one fails with a type error when I evaluate the text in the
> I am almost there - getting productive. Thank you so much for your
> help Robert and Dan. I have some cool and simple stuff planned:
> simple TextMorph for instantiation, cool animated vortex widget for
> world navigation, ScrollPane for the world, Flickr gallery widget,
> buttons, stickies, morph navigator, translucency, clipping, and
> masking transistions. But I need to prioritize between utility in
> Lively/Morphic and bling.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lively-kernel