On 11/6/06, Ashish Agrawal <[EMAIL PROTECTED]> wrote:
>
> Thanks a million Bob for your reply. Now I issue with my code. But
> still one thing bothring me - how similar kind of code (The way I
> wrote) is working fine for MochiKit.DragAndDrop.Draggables?
>
> Actually, while creating ColorPicker, I took that code for reference.
> It also has same type of code flow
> 1st  MochiKit.DragAndDrop.Draggables = { //Register and other stuff };
> 2nd MochiKit.DragAndDrop.Draggables = function(){};
> and finally MochiKit.DragAndDrop.Draggables.prototype = {};
>
> As I am newbie to JS, I followed the same :).

Actually no, it doesn't.

MochiKit.DragAndDrop.Draggables = { ... }
MochiKit.DragAndDrop.Draggable = function () { ... }
MochiKit.DragAndDrop.Draggable.prototype = { ... }

-bob

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to