Mercurial > eldonilo > lightstring
diff lightstring.js @ 28:630b9579fe4a
merge fixing
author | Sonny Piers <sonny.piers@gmail.com> |
---|---|
date | Sat, 28 Jan 2012 01:34:32 +0100 |
parents | b6e4bc19ff5a |
children | 1e6d2ca2daae 88d24231bf24 |
line wrap: on
line diff
--- a/lightstring.js +++ b/lightstring.js @@ -269,17 +269,12 @@ Lightstring.Connection.prototype = { that.emit('DOMInput', elm); that.emit(elm.tagName, elm); -<<<<<<< HEAD - if (elm.tagName === 'iq') - that.emit(elm.getAttribute('id'), elm); -======= if (elm.tagName === 'iq') { var payload = elm.firstChild; if (payload) that.emit('iq/' + payload.namespaceURI + ':' + payload.localName, elm); that.emit(elm.getAttribute('id'), elm); //FIXME: possible attack vector. } ->>>>>>> f6a7c0f93d154c2cd34dfdda4ab8eec808b91b34 }); }, /**