stylesheet injection

This commit is contained in:
Martin Zimmermann 2013-10-02 16:18:55 +02:00
parent de25af5467
commit 2f6f4bc338

View File

@ -3,6 +3,12 @@ require(["ready", "app/api", "app/isso", "app/count", "app/dom", "app/markup"],
"use strict"; "use strict";
domready(function() { domready(function() {
var css = $.new("link");
css.type = "text/css";
css.rel = "stylesheet";
css.href = api.endpoint + "/css/isso.css";
$("head").append(css);
count(); count();
$("#isso-thread").append($.new('h4')); $("#isso-thread").append($.new('h4'));