yui/yui3 — comment on commit 95f1c29b500e7417c55cf64c2594b38e21c3ed37
File: src/loader/js/loader.js line 933
By davglass:

Good point, changing to this:

var p = o.path || o.fullpath;
if (p && p.indexOf('.' + CSS) > -1) {
o.type = CSS;
}

Will be in next build.