[Phpmyadmin-devel] Where to put new jQuery functions
michal at cihar.com
Wed May 26 13:41:59 CEST 2010
Dne Wed, 26 May 2010 17:03:55 +0530
Ninad Pundalik <ninadsp16289 at gmail.com> napsal(a):
> I agree with Michal. For my part, where I am planning to write jQuery
> functions, I'll put the common ones in either functions.js or
> common.js (the previous one seems to be included almost everywhere)
> and write page specific functions in a new file and put it in /js/.
> is in server_privileges.js.
Generally the function which are used in lot of (or all) places should
go to some common library, while the ones used just on few pages should
be placed separately to get maximum of caching in browser but to avoid
loading too much on every page.
Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: not available
More information about the Developers