On Mar 15, 2006, at 1:08 AM, b3d70 wrote:

>
> Dear Masters,
> Please give a light to my code. I try to make MochiKit and Dojo work
> together, and these are the way I did. Please help me to make it
> better.
>
> <script type="text/javascript"
> src="http://localhost/js/dojo022/dojo.js";></script>
> <script type="text/javascript"
> src="http://localhost/js/dojo022/src/widget/TabPane.js";></script>
> <script src="http://localhost/js/mochikit/MochiKit.js";
> type="text/javascript"></script>
> <script src="http://localhost/js/inventories.js";
> type="text/javascript"></script>
--
>
> The things that I dont like from my code is I always have to mention
> the MochiKit.DOM.xxx or MochiKit.DateTime. So please, does somebody
> overthere can help me to make my code more better ?

If you want to use the short names, then load MochiKit before dojo.

-bob


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

Reply via email to