Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
tong committed Jul 30, 2012
1 parent b839c8e commit 3f08965
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README
Expand Up @@ -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


Expand Down
3 changes: 1 addition & 2 deletions jabber/Stream.hx
Expand Up @@ -126,7 +126,7 @@ class Stream {
setConnection( c );
// re-open XMPP stream
#if JABBER_COMPONENT
//trace("TODO");
// ?????
#else
open( jid );
#end
Expand Down Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion jabber/XMPPError.hx
Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion jabber/XSPF.hx
Expand Up @@ -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 );
Expand Down

0 comments on commit 3f08965

Please sign in to comment.