hasgeek / baseframe

Baseframe for Hasgeek projects
BSD 3-Clause "New" or "Revised" License
11 stars 17 forks source link

LAB.js to load scripts async in the head #19

Closed jace closed 11 years ago

jace commented 11 years ago

LAB.js can be used to move script loading into the head, but we have additional requirements:

  1. Choose between Zepto.js and jQuery based on the browser.
  2. Load jQuery from a CDN and failover to local

This means LAB.js won't be a simple drop-in replacement. We need to think about how an app can define its resource requirements outside of the webasset mechanisms.

jace commented 11 years ago

Closing this since if we do get to it, yepnope seems the more popular approach.