i can put web2py_ajax.html not in my head i think. :) right....and when i first wrote this blocks were not as handy and blah blah blah. perhaps it's time for me to update my code a bit.
thanks for the feedback! cfh On Friday, September 21, 2012 1:24:31 PM UTC-7, Niphlod wrote: > > I load it asynchronously using a javascript snippet, never wanted to put > that in <head>. This is not a "limitation" per se, you can include it in > your template and/or insert some code in web2py_ajax.html and "solve" the > problem. Anyway, as for current response.include_files() capacity, assuming > that something ends in js is a javascript is just a hack (i.e. it's not a > standard). > > On Friday, September 21, 2012 10:12:43 PM UTC+2, howesc wrote: >> >> good question....maybe pass a tuple of (URL, type) to >> response.files.append? but right now tuples are interpreted as inline CSS >> or JS... >> >> the other thought is that this ends in /js....would it be acceptable to >> assume .js or /js are both js file types? does anyone know if /js is a >> google convention, or just a maps API bug? >> >> --