From e932d0a26ba81573545ca055660dcb41e277e0fe Mon Sep 17 00:00:00 2001 From: Erik Little Date: Mon, 16 Mar 2015 11:53:14 -0400 Subject: [PATCH] Fix copypasta --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index baa81ce..87b9da9 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Constructors ----------- `init(socketURL: String, opts:NSDictionary? = nil)` - Constructs a new client for the given URL. opts can be omitted (will use default values. See example) -`convenience init(socketURL: String, options:NSDictionary? = nil)` - Same as above, but meant for Objective-C. See Objective-C Example. +`convenience init(socketURL: String, options:NSDictionary?)` - Same as above, but meant for Objective-C. See Objective-C Example. Methods ------- 1. `socket.on(name:String, callback:((data:NSArray?, ack:AckEmitter?) -> Void))` - Adds a handler for an event. Items are passed by an array. `ack` can be used to send an ack when one is requested. See example.