jetheredge / SquishIt

Lets you *easily* bundle some css and javascript! Check out the Google group if you have questions!
http://groups.google.com/group/squishit
MIT License
459 stars 119 forks source link

added support for async tag on javascript element #302

Closed jmerriweather closed 9 years ago

jmerriweather commented 9 years ago

Gives the ability to add the async tag to the script element, info about async tag here: http://www.w3.org/TR/html-markup/script.html

AlexCuse commented 9 years ago

This is great thanks.

Do you think its worth adding a page to the MVC test project for this? It seems like as long as the async gets added it should be fine, but this is the first time I looked at the async marker so I'm not terribly familiar.

jmerriweather commented 9 years ago

Sorry hadn't even looked at the MVC test project. A good overview of the async tag is here: http://www.growingwiththeweb.com/2014/02/async-vs-defer-attributes.html