comparison lightstring.js @ 55:aaad98b33f86

Fix syntax errors.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 01 Feb 2012 04:13:42 +0100
parents 0b7dd59e264a
children 1d4b844586f6
comparison
equal deleted inserted replaced
54:0b7dd59e264a 55:aaad98b33f86
36 stream: { 36 stream: {
37 open: function(aService) { 37 open: function(aService) {
38 //FIXME no ending "/" - node-xmpp-bosh bug 38 //FIXME no ending "/" - node-xmpp-bosh bug
39 return "<stream:stream to='" + aService + "'" + 39 return "<stream:stream to='" + aService + "'" +
40 " xmlns='" + Lightstring.ns['jabber_client'] + "'" + 40 " xmlns='" + Lightstring.ns['jabber_client'] + "'" +
41 " xmlns:stream='" + Lightstring.ns.['streams'] + "'" + 41 " xmlns:stream='" + Lightstring.ns['streams'] + "'" +
42 " version='1.0'/>"; 42 " version='1.0'/>";
43 }, 43 },
44 close: function() { 44 close: function() {
45 return "</stream:stream>"; 45 return "</stream:stream>";
46 } 46 }