eric cuver wrote:
> My eyes struck Ractive.js and I want to test it with Web2py. Web2py however
> uses also {{ }} as the templating characters. Ractive uses these characters
> also. how i Can be done ?
These are handlebars templates, am I right?
Put them in separate files and make a raw includ
In web2py you can set response.delimiters in the action and it will only
affect the view for that action. Except that if you have one layout for all
views...
On Friday, 4 July 2014 10:32:13 UTC-5, Leonel Câmara wrote:
>
> True, but I'm lazy and didn't feel like changing my layout.html and other
True, but I'm lazy and didn't feel like changing my layout.html and other
views.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this messag
I think it is best to change delimiters in web2py because when you use
ractive you end up having much more ractvie code then web2py template code,
and that is a good thing.
On Friday, 4 July 2014 05:24:11 UTC-5, Leonel Câmara wrote:
>
> I started using ractive too, I went the other way and chang
I started using ractive too, I went the other way and changed the
delimiters Ractive uses by adding this to my "new Ractive"
delimiters: [ '[[', ']]' ],
tripleDelimiters: [ '[[[', ']]]' ] ,
If you do this, you need to use the edge version of ractive as there's a
bug in the current lates
ok thanks a lot massimo !
Le jeudi 3 juillet 2014 16:57:06 UTC+2, Massimo Di Pierro a écrit :
>
> I am using ractive.js with web2py a lot these days. In web2py I set:
>
> response.delimiters = ['<%','%>']
>
> and then I use {{...}} for ractive.
>
>
>
> On Thursday, 3 July 2014 05:21:33 UTC-5, eric
I am using ractive.js with web2py a lot these days. In web2py I set:
response.delimiters = ['<%','%>']
and then I use {{...}} for ractive.
On Thursday, 3 July 2014 05:21:33 UTC-5, eric cuver wrote:
>
> My eyes struck Ractive.js and I want to test it with Web2py. Web2py
> however uses also {{
7 matches
Mail list logo