Don't reinvent the wheel ..... if you're using the default layout, you 
already have in your toolbelt Modernizr.
http://modernizr.com/docs/#load

If you're not concerned about dipendencies (as it seems from your snippet) 
it gets really easier.

Modernizr.load('/welcome/static/css/bootstrap.min.csss');
Modernizr.load('/welcome/static/js/web2py.js');Modernizr.load('/welcome/static/css/bootstrap.min.csss');
Modernizr.load('/welcome/static/js/web2py.js');

Modernizr.load('/welcome/static/css/bootstrap.min.csss');
Modernizr.load('/welcome/static/js/web2py.js');

Modernizr.load('/welcome/static/css/bootstrap.min.csss');
Modernizr.load('/welcome/static/js/web2py.js');

Modernizr.load('/welcome/static/css/bootstrap.min.csss');
Modernizr.load('/welcome/static/js/web2py.js');




On Thursday, June 27, 2013 10:46:50 PM UTC+2, Niphlod wrote:
>
> getscript will load the file over and over without caching it.....
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to