[Twisted-web] How to import JQuery from Athena

Juanjo Conti jjconti at gmail.com
Fri Jul 3 16:00:50 EDT 2009


I did it the // import way. Thanks!

2009/7/3 Jean-Paul Calderone <exarkun at divmod.com>:
> On Fri, 3 Jul 2009 16:42:39 -0300, Juanjo Conti <jjconti at gmail.com> wrote:
>>Hi, I've downloaded the jquery-1.3.2.min.js file from JQuery web page.
>>Now I need to import it. How do I do it? With the // import sentence?
>>
>>Could you supplyme an example?
>
> If you want to use `// import ...´, you need to "package" jQuery.  This is
> covered a bit in the Athena tutorial on the wiki.  In particular, this
> section:
>
> http://divmod.org/trac/wiki/DivmodNevow/Athena/Tutorials/LiveElement#CustomizingBehavior
>
> You don't have to use `// import ...´, though.  You could just put a script
> tag into your page that loads jQuery.
>
> Jean-Paul
>
> _______________________________________________
> Twisted-web mailing list
> Twisted-web at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
>



-- 
Juanjo Conti



More information about the Twisted-web mailing list