kasparsd/minit — pull request #29 by zytzagoo (2014-09-12 11:08:51+00:00)
Title: Allow async exclusion

Basically just skips script handles from being added to async queue if they're present in the `minit-exclude-js` filter.

Before this, **all** external scripts were unconditionally being 'asynced', which might not be **always** wanted.

I've had other external scripts enqueued (think ad-servers and/or similar stuff that must not be asynced
due to `document.write` usage for example) and having them 'asynced' broke them.

This was just a quick fix to get back some control over 'asyncing'. It might even help fix #21 (or at least fix one part of the problem).

If there's a better way to handle this (skip enqueued external scripts from being asynced), I'm all ears...

P.S.
Kudos and many thanks for what you've done with this plugin so far. It's great!