webtechnick / CakePHP-Facebook-Plugin

CakePHP Facebook Plugin
http://facebook.webtechnick.com
445 stars 138 forks source link

Remove synchronous loading of all.js #122

Closed aldeed closed 11 years ago

aldeed commented 11 years ago

The init() helper inserts the exact same all.js script tag twice, first synchronously and then asynchronously. I can't think of any good reason to do that, and the synchronous tag often causes a lengthy delay before the page loads. So I removed that line.