@@ -35,6 +35,23 @@
3535 }
3636 }
3737
38+ /* save for later
39+ function loadStyle(url, fn) {
40+ var style = document.createElement('style'),
41+ fi;
42+ style.textContent = '@import "' + url + '"';
43+ fi = setInterval(function () {
44+ try {
45+ style.sheet.cssRules; // <--- MAGIC: only populated when file is loaded
46+ fn();
47+ clearInterval(fi);
48+ } catch (e) {}
49+ }, 10);
50+
51+ $('head').prepend(style);
52+ }
53+ */
54+
3855 $(function () {
3956 var body = $('body'),
4057 nav = $('.navbar');