Mercurial > eldonilo > lightstring
comparison plugins/pubsub.js @ 81:7500bc048dbc
Typo errors.
author | Sonny Piers <sonny.piers@gmail.com> |
---|---|
date | Tue, 07 Feb 2012 18:44:07 +0100 |
parents | 50d36b093e3a |
children | bfa3c003fc1d |
comparison
equal
deleted
inserted
replaced
80:50d36b093e3a | 81:7500bc048dbc |
---|---|
69 return iq; | 69 return iq; |
70 }, | 70 }, |
71 }, | 71 }, |
72 methods: { | 72 methods: { |
73 items: function(aTo, aNode, aResult, aError) { | 73 items: function(aTo, aNode, aResult, aError) { |
74 this.send(Lightstring.stanza.pubsub.items(aTo, aNode), function(stanza) { | 74 this.send(Lightstring.stanzas.pubsub.items(aTo, aNode), function(stanza) { |
75 var items = []; | 75 var items = []; |
76 var elms = stanza.DOM.querySelectorAll('item'); | 76 var elms = stanza.DOM.querySelectorAll('item'); |
77 for (var i = 0; i < elms.length; i++) { | 77 for (var i = 0; i < elms.length; i++) { |
78 var node = elms[i]; | 78 var node = elms[i]; |
79 var item = { | 79 var item = { |