swak / carrington

Automatically exported from code.google.com/p/carrington
0 stars 0 forks source link

Carrington JAM: <head> content loaded in <body> #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I noticed that using Carrington JAM 1.2 that the <body> contains a lot of
things that I would normally see in the <head> such as <link>s and <scripts>. 

This seems to results in, for instance, the content loading before the
stylesheet. I applied styles to the cfct-debug output, but because the
stylesheet loads after debug begins, there's always a brief delay between
the debug output appearing and the styles applying.

Beyond this, I'm not sure if it matters that all of these things are being
loaded in the <body>. I do wonder if it makes things load slower. Can
anyone more knowledgeable comment on whether this is a defect or not?

I am using wordpress mu 2.8 with an unaltered Carrington JAM. I don't see
the same thing with Carrington Text, although I haven't yet figured out why
not.

Thanks!

Original issue reported on code.google.com by trevorch...@gmail.com on 12 Aug 2009 at 9:49

GoogleCodeExporter commented 9 years ago
Carrington JAM does not include HTML - JAM stands for Just Add Markup, you need 
to
add your own as you like.

Original comment by alexking...@gmail.com on 14 Aug 2009 at 1:59

GoogleCodeExporter commented 9 years ago
Hi Alex,

By your answer, I think you might have misunderstood what I'm describing. But 
anyway,
I figured out that this only happens when CFCT_DEBUG is on. During normal 
operation,
all of the <script>s and <link>s are loaded in the <head> and not in the <body>.

Just thought I would share.

Original comment by trevorch...@gmail.com on 25 Aug 2009 at 3:27