Hacker News new | past | comments | ask | show | jobs | submit login
Firefox implements HTML5 async attribute for scripts (in 3.6 b3) (mozilla.com)
12 points by enomar on Nov 19, 2009 | hide | past | favorite | 2 comments



I don't understand why SCRIPT elements doesn't have a "depends" attribute that list id names to other SCRIPT that must have finished before this script executes.

Isn't that a huge issue if you intend to defer/async a script element for a js-library that other scripts depend on being there?


The Mozilla bug report doesn't make clear what the actual limitations are of this implementation - like how you can affect the DOM while running asynchronously. Any ideas about what actually happens?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: