Mercurial > eldonilo > blog
comparison 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 |
comparison
equal
deleted
inserted
replaced
14:03be0717d3f8 | 15:5149a856d9dd |
---|---|
225 res.write(' <head>\n'); | 225 res.write(' <head>\n'); |
226 res.write(' <title>' + (title? title: 'Eldonilo blog') + '</title>\n'); | 226 res.write(' <title>' + (title? title: 'Eldonilo blog') + '</title>\n'); |
227 | 227 |
228 if (!noscript) { | 228 if (!noscript) { |
229 res.write('\n'); | 229 res.write('\n'); |
230 res.write(' <script type="application/ecmascript" src="configuration.js" defer=""/>\n'); | 230 res.write(' <!-- Configuration -->'); |
231 res.write(' <script type="application/ecmascript" src="xml2json.js" defer=""/>\n'); | 231 res.write(' <script type="application/ecmascript" src="configuration.js" defer=""/>'); |
232 res.write(' <script type="application/ecmascript" src="strophe.js" defer=""/>\n'); | 232 res.write('\n'); |
233 res.write(' <script type="application/ecmascript" src="strophe.pubsub.js" defer=""/>\n'); | 233 res.write(' <!-- XMPP library -->'); |
234 res.write(' <script type="application/ecmascript" src="date.js" defer=""/>\n'); | 234 res.write(' <script type="application/ecmascript" src="md5.js" defer=""/>'); |
235 res.write(' <script type="application/ecmascript" src="ns.js" defer=""/>\n'); | 235 res.write(' <script type="application/ecmascript" src="xmpp.js" defer=""/>'); |
236 res.write(' <script type="application/ecmascript" src="jid.js" defer=""/>\n'); | 236 res.write('\n'); |
237 res.write(' <script type="application/ecmascript" src="atom.js" defer=""/>\n'); | 237 res.write(' <!-- XMPP helpers -->'); |
238 res.write(' <script type="application/ecmascript" src="nothing.js" defer=""/>\n'); | 238 res.write(' <script type="application/ecmascript" src="ns.js" defer=""/>'); |
239 res.write(' <script type="application/ecmascript" src="stanzas.js" defer=""/>'); | |
240 res.write(' <script type="application/ecmascript" src="functions.js" defer=""/>'); | |
241 res.write('\n'); | |
242 res.write(' <!-- Core of the blog -->'); | |
243 res.write(' <script type="application/ecmascript" src="date.js" defer=""/>'); | |
244 res.write(' <script type="application/ecmascript" src="jid.js" defer=""/>'); | |
245 res.write(' <script type="application/ecmascript" src="atom.js" defer=""/>'); | |
246 res.write(' <script type="application/ecmascript" src="nothing.js" defer=""/>'); | |
239 } | 247 } |
240 | 248 |
241 if (config.atomRoot) { | 249 if (config.atomRoot) { |
242 res.write('\n'); | 250 res.write('\n'); |
243 res.write(' <link rel="alternate" type="application/atom+xml" title="Atom feed" href="?type=atom"/>\n'); | 251 res.write(' <link rel="alternate" type="application/atom+xml" title="Atom feed" href="?type=atom"/>\n'); |