I believe I've found a bug in Dojo 1.1.1, where objects instantiated using the parser cannot be successfully subclassed. My demo code subclasses dojo.dnd.Moveable so that the objects start in random positions on the screen. I include two versions: one that works (using addOnLoad()), and one that doesn't (using the parser).
declare
problems using dojo.declare
Submitted by bingomanatee on Thu, 07/03/2008 - 16:46.
I am new to Dojo; am trying to make some simple object classes using dojo.declare. this is inside my head tag.
//
- Login or register to post comments
- Read more
- Subscribe post
