Yep, it used to be the common practice but not so much anymore. Stuff
like require, you might want to still place in the head just to make
sure it gets loaded before everything else but it doesn't need to be
there.
--
Gary Katsevman
Computer Science Undergraduate
Northeastern University
gkatsev.com



On Thu, Nov 3, 2011 at 15:36, dtang85 <[email protected]> wrote:
> I know that it is considered best practice to place your scripts at
> the bottom of the page before the closing body tag. However, I started
> using Require.js recently and the Google Maps API, and both tell you
> to place your scripts in the head. Is there a reason for this or do
> the examples just put it there because this was common practice in the
> past?
>
> --
> To view archived discussions from the original JSMentors Mailman list: 
> http://www.mail-archive.com/[email protected]/
>
> To search via a non-Google archive, visit here: 
> http://www.mail-archive.com/[email protected]/
>
> To unsubscribe from this group, send email to
> [email protected]
>

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to