On Jun 23, 2006, at 1:15 PM, Bob Ippolito wrote:
>
>
> On Jun 23, 2006, at 12:37 PM, Chris Nokleberg wrote:
>
>>
>> mouse() uses Style.Coordinates, but Style is not listed as a
>> dependency.
>>
>> Also, is there an easy way to prevent any importing? From what I can
>> see in the code it is only disabled if you are using dojo or JSAN.
>> Running this code before loading MochiKit works but it is ugly:
>>
>> <script type="text/javascript">
>> dojo = { provide : function() { }, require : function() { } };
>> </script>
>>
>> I would love a way to selectively import certain functions from
>> certain
>> modules using MochiKit alone.
>
> Try this:
>
> <script type="text/javascript">MochiKit = {__export__:false};</script>
Actually while that happens to work, it's not the documented public
API for doing so.
You should use:
<script type="text/javascript">MochiKit = {__compat__: true};</script>
This is documented, see:
http://mochikit.com/doc/html/MochiKit/
-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
-~----------~----~----~----~------~----~------~--~---