[development] Where should we call drupal_add_js?
Wim Leers
bashratthesneaky at gmail.com
Mon May 21 14:27:27 UTC 2007
Yep, exactly. Hence "if the situation permits this". In some - yet
rare - cases it's necessary for the JS to be omnipresent. Then you
can not add it on specific pages.
P.S.: this does not belong on the devel mailing list. Please post it
on the forum next time, or just ask it in IRC.
Wim
On May 21, 2007, at 16:24 , Bèr Kessels wrote:
> Op maandag 21 mei 2007, schreef Wim Leers:
>> Option #3 is the best one, if the situation permits it.
>
> One important reason for this, is, that this way you won't present
> your users
> with tons of JS that you only use in the backend. JAvascript that
> they will
> never use anyway.
>
> Bèr
> --
> Drupal, Ruby on Rails and Joomla! development: webschuur.com |
> Drupal hosting:
> www.sympal.nl
More information about the development
mailing list