[Dojo-interest] Loading dojo from external host
Peter Svensson
psvensson at gmail.com
Tue Jun 16 00:47:48 EDT 2009
Hi!
You need to use the build tool in the util directory of Dojo to create a
cross-domain build. See;
http://docs.dojocampus.org/quickstart/cross-domain
Where you'll also find a great intro to sing Google or AOL's CDN to load
cross-domain Dojo from, if you don't want to host your own.
Cheers,
PS
On Tue, Jun 16, 2009 at 6:24 AM, <antipolizay at inbox.ru> wrote:
> Hi,
>
>
> How I can load dojo scripts from external host?
> dojo.require("dojo.fx") write that can't find fx.js
>
>
> It's ok:
> <script type="text/javascript" src="scripts/dojo/dojo.js"
> djConfig="parseOnLoad:true, isDebug:false"></script>
>
>
> But this does not:
> <script type="text/javascript" src="http://HOST/scripts/dojo/dojo.js"
> djConfig="parseOnLoad:true, isDebug:false"></script>
>
>
> Also I try:
> <script type="text/javascript" src="http://HOST/scripts/dojo/dojo.js"
> djConfig="parseOnLoad:true, isDebug:false, baseUrl:'
> http://HOST/scripts/dojo/'"></script>
>
>
> Please, help me.
>
>
> Thx
>
> _______________________________________________
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://dojotoolkit.org/docs/book
> Forums: http://dojotoolkit.org/forum
> Dojo-interest at mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-interest/attachments/20090616/82f6a614/attachment.htm
More information about the Dojo-interest
mailing list