the current issue is around a line of jQuery code that foundation needs
to run at the end of every page.  I've got a wrapper file that I import
with WRAPPER block, and I want the last line emitted, just before the
</body> to be
<script>$(document).foundation()</script>

the problem is that TT tries to interpolate the $ and it all gets messed up

Aaron

On 3/7/16 9:01 AM, Ronald Kimball wrote:
> This is probably something simple.  What does your template look like
> right now?
> 
> On Sun, Mar 6, 2016 at 4:50 PM, Aaron Macks <[email protected]
> <mailto:[email protected]>> wrote:
> 
>     I've got to add some javascript into a template, and the $ in the js
>     code is getting interpolated incorrectly.  How do I disable
>     interpolation for a block of code, or simply tell TT, "just print this
>     code unprocessed"?
> 
>     Thanks
>     Aaron
>     --
>     _______________________________________________________
>     Aaron Macks([email protected] <mailto:[email protected]>)
>     [http://www.wiglaf.org/~aaronm ]
>     My sheep has seven gall bladders, that makes me the King of the
>     Universe!
> 
>     _______________________________________________
>     templates mailing list
>     [email protected] <mailto:[email protected]>
>     http://mail.template-toolkit.org/mailman/listinfo/templates
> 
> 
> 
> 
> -- 
> *Ronald J Kimball*
> Senior Developer
>  - www.snapapp.com <http://www.snapapp.com/> | Facebook
> <http://www.facebook.com/snapapp> *|* Twitter
> <http://www.twitter.com/snap_app>

-- 
_______________________________________________________
Aaron Macks([email protected]) [http://www.wiglaf.org/~aaronm ]
My sheep has seven gall bladders, that makes me the King of the Universe!

_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to