Permalink
Browse files

minor

  • Loading branch information...
1 parent b839c8e commit 3f089653bdb1c54c8b09c8130d4decc123de6759 tong committed Jul 30, 2012
Showing with 3 additions and 5 deletions.
  1. +1 −1 README
  2. +1 −2 jabber/Stream.hx
  3. +0 −1 jabber/XMPPError.hx
  4. +1 −1 jabber/XSPF.hx
View
2 README
@@ -61,7 +61,7 @@ COMPILER FLAGS
NODE.JS
-------
-To compile for nodejs you have to use the type definitions from: https://github.com/tong/node.hx
+To compile for nodejs use the 'nodejs' haxelib
Set compiler flag: -D nodejs
View
@@ -126,7 +126,7 @@ class Stream {
setConnection( c );
// re-open XMPP stream
#if JABBER_COMPONENT
- //trace("TODO");
+ // ?????
#else
open( jid );
#end
@@ -195,7 +195,6 @@ class Stream {
/**
Send raw string.
*/
- //TODO public function send( t : String ) : String {
public function sendData( t : String ) : String {
if( !cnx.connected )
return null;
View
@@ -27,7 +27,6 @@ package jabber;
class XMPPError extends xmpp.Error {
public var from(default,null) : String;
- //TODO reference to the packet (?)
public function new( p : xmpp.Packet ) {
var e = p.errors[0];
View
@@ -54,7 +54,7 @@ class XSPF {
try {
pl = xspf.Playlist.parse( x );
} catch( e : Dynamic ) {
- trace(e); //TODO
+ onError( new XMPPError( iq ) );
return;
}
onLoad( iq.from, pl );

0 comments on commit 3f08965

Please sign in to comment.