375 var buf = []; |
375 var buf = []; |
376 for(var i=0;i<this.children.length;i++) |
376 for(var i=0;i<this.children.length;i++) |
377 if(typeof(this.children[i]) == "string") |
377 if(typeof(this.children[i]) == "string") |
378 buf.push(this.children[i]); |
378 buf.push(this.children[i]); |
379 return buf.join(""); |
379 return buf.join(""); |
|
380 }, |
|
381 |
|
382 getAttribute: function (name) { |
|
383 return this.attr[name] || null; |
380 } |
384 } |
381 } |
385 } |
382 |
386 |
383 xmpp.stanza = function (name, attr) |
387 xmpp.stanza = function (name, attr) |
384 { |
388 { |