Mercurial > eldonilo > blog
diff server.js @ 15:5149a856d9dd default tip
Fix hybrid mode.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 03 Nov 2011 17:28:49 -0700 |
parents | 03be0717d3f8 |
children |
line wrap: on
line diff
--- a/server.js +++ b/server.js @@ -227,15 +227,23 @@ var home = function(res, title, desc, bo if (!noscript) { res.write('\n'); - res.write(' <script type="application/ecmascript" src="configuration.js" defer=""/>\n'); - res.write(' <script type="application/ecmascript" src="xml2json.js" defer=""/>\n'); - res.write(' <script type="application/ecmascript" src="strophe.js" defer=""/>\n'); - res.write(' <script type="application/ecmascript" src="strophe.pubsub.js" defer=""/>\n'); - res.write(' <script type="application/ecmascript" src="date.js" defer=""/>\n'); - res.write(' <script type="application/ecmascript" src="ns.js" defer=""/>\n'); - res.write(' <script type="application/ecmascript" src="jid.js" defer=""/>\n'); - res.write(' <script type="application/ecmascript" src="atom.js" defer=""/>\n'); - res.write(' <script type="application/ecmascript" src="nothing.js" defer=""/>\n'); + res.write(' <!-- Configuration -->'); + res.write(' <script type="application/ecmascript" src="configuration.js" defer=""/>'); + res.write('\n'); + res.write(' <!-- XMPP library -->'); + res.write(' <script type="application/ecmascript" src="md5.js" defer=""/>'); + res.write(' <script type="application/ecmascript" src="xmpp.js" defer=""/>'); + res.write('\n'); + res.write(' <!-- XMPP helpers -->'); + res.write(' <script type="application/ecmascript" src="ns.js" defer=""/>'); + res.write(' <script type="application/ecmascript" src="stanzas.js" defer=""/>'); + res.write(' <script type="application/ecmascript" src="functions.js" defer=""/>'); + res.write('\n'); + res.write(' <!-- Core of the blog -->'); + res.write(' <script type="application/ecmascript" src="date.js" defer=""/>'); + res.write(' <script type="application/ecmascript" src="jid.js" defer=""/>'); + res.write(' <script type="application/ecmascript" src="atom.js" defer=""/>'); + res.write(' <script type="application/ecmascript" src="nothing.js" defer=""/>'); } if (config.atomRoot) {