Browse files

reorder the docs to put events before methods

  • Loading branch information...
1 parent 6efb5a0 commit 9f5134c8817a59079e7b6fed68c5f1537ff83589 @aredridel committed Aug 23, 2010
Showing with 8 additions and 8 deletions.
  1. +8 −8 doc/api.markdown
View
16 doc/api.markdown
@@ -148,18 +148,18 @@ message data.
received will be sent. Defaults to `false`. Call `accept()` to accept the
message or `reject()` to reject it.
-### smtp.MessageStream.accept()
-
-Accepts the message, so the SMTP daemon will return a 2xx response.
-
-### smtp.MessageStream.reject()
-
-Rejects the message, so the SMTP daemon will return a 4xx/5xx response.
-
### Event: accept
Emitted when the message is accepted.
### Event: reject
Emitted when the message is rejected.
+
+### smtp.MessageStream.accept()
+
+Accepts the message, so the SMTP daemon will return a 2xx response.
+
+### smtp.MessageStream.reject()
+
+Rejects the message, so the SMTP daemon will return a 4xx/5xx response.

0 comments on commit 9f5134c

Please sign in to comment.