So, I'm working on a webapp, and I'd like to use MochiKit (plain
MochiKit imported regularly) with a few widgets from Dojo (like their
RichText widget.) I DON'T want to import MochiKit through Dojo's
package management system because:

1) I want to use MochiKit without the fully qualified names.
2) I want to have useful debugging line numbers with Firebug instead of
"bootstrap.js Line 1-Billion" or whatever you get with dojo

I have searched through this group and found an old example, but trying
to do the same thing has resulted in not much luck. Here's what I have
(with newest versions from both repositories.)

-------

<script type="text/javascript" src="mochikit/MochiKit/MochiKit.js">
</script>
<script type="text/javascript" src="mochikit/MochiKit/New.js">
</script>
<script type="text/javascript" src="mochikit/MochiKit/DragAndDrop.js">
</script>
<script type="text/javascript" src="mochikit/MochiKit/Sortable.js">
</script>

<script type="text/javascript" src="dojo/dojo.js"> </script>
<script type="text/javascript">
console.log(dojo);
</script>

-------

When I run this, the console tells me that dojo is not defined. (Thus I
can't require any widgets or otherwise use it.) What gives? Any ideas?


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to