God damn coffee. Also that specific title makes chrome shit itself.

This commit is contained in:
Nicolas Stepien 2013-02-14 17:50:25 +01:00
parent b91d343679
commit bfffdbee91
2 changed files with 4 additions and 8 deletions

View File

@ -739,11 +739,9 @@
textContent: css textContent: css
}) : $.el('link', { }) : $.el('link', {
rel: 'stylesheet', rel: 'stylesheet',
href: URL.createObjectURL(new Blob([css])) href: URL.createObjectURL(new Blob([css], {
}, { type: 'text/css'
type: 'text/css' }))
}, {
title: g.NAMESPACE
}); });
$.asap((function() { $.asap((function() {
return d.head; return d.head;

View File

@ -90,9 +90,7 @@ $.extend $,
else else
$.el 'link', $.el 'link',
rel: 'stylesheet' rel: 'stylesheet'
href: URL.createObjectURL new Blob [css], href: URL.createObjectURL new Blob([css], type: 'text/css')
type: 'text/css'
title: g.NAMESPACE
$.asap (-> d.head), -> $.asap (-> d.head), ->
$.add d.head, style $.add d.head, style
style style