move Ack to top level

This commit is contained in:
Naoyuki Kanezawa
2013-05-08 23:24:42 +09:00
parent 2f4ef44d18
commit 36e9f59b44
4 changed files with 13 additions and 11 deletions

View File

@@ -44,7 +44,7 @@ socket = IO.socket("http://localhost", opts);
You can get a callback with the `Ack`:
```java
socket.emit("foo", "woot", new Socket.Ack() {
socket.emit("foo", "woot", new Ack() {
@Override
public void call(Object... args) {}
});