code style

This commit is contained in:
Erik 2017-05-28 12:06:24 -04:00
parent d9559e7c59
commit 17bec21ad1
No known key found for this signature in database
GPG Key ID: 4930B7C5FBC1A69D
2 changed files with 1 additions and 4 deletions

View File

@ -155,9 +155,7 @@ extension SocketEngineSpec {
return .left(mutData as Data) return .left(mutData as Data)
} else { } else {
let str = "b4" + data.base64EncodedString(options: Data.Base64EncodingOptions(rawValue: 0)) return .right("b4" + data.base64EncodedString(options: Data.Base64EncodingOptions(rawValue: 0)))
return .right(str)
} }
} }

View File

@ -498,7 +498,6 @@ open class SocketIOClient : NSObject, SocketIOClientSpec, SocketEngineClient, So
return handler.id return handler.id
} }
/// Adds a single-use handler for an event. /// Adds a single-use handler for an event.
/// ///
/// - parameter event: The event name for this handler. /// - parameter event: The event name for this handler.