tmort / Socialite

Other
1.68k stars 163 forks source link

Where to append scripts? #4

Closed dbushell closed 12 years ago

dbushell commented 12 years ago

Past versions of Socialite.js appended scripts to the body element.

I've recently updated to insert before the first script (see Paul Irish's article on this technique).

What are the issues/benefits either way? From what I understand, and what Socialite is doing, it should be OK whatever choice is made here?