Skip to content
This repository was archived by the owner on Nov 28, 2018. It is now read-only.

Commit f34e5c2

Browse files
committed
Move examples to their own directory. Clean up javadoc and readme.
1 parent d03f1ec commit f34e5c2

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ For documentation see doc/stomp.md and doc/frame.md
1111

1212
### Consumer
1313

14-
See stomp-consumer.js
14+
See examples/stomp-consumer.js
1515

1616
### Producer
1717

18-
See stomp-producer.js
18+
See examples/stomp-producer.js
1919

2020
### Producer with Transaction Support
2121

22-
See stomp-producer-txn.js
22+
See examples/stomp-producer-txn.js
File renamed without changes.
File renamed without changes.
File renamed without changes.

lib/stomp.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ Stomp.prototype.begin = function() {
299299

300300
/**
301301
* Commit transaction
302-
* @param {String} transaction id generated by Stomp.begin
302+
* @param {String} transaction id generated by stomp.Stomp.begin()
303303
*/
304304
Stomp.prototype.commit = function(transaction_id) {
305305
var self = this;
@@ -309,7 +309,7 @@ Stomp.prototype.commit = function(transaction_id) {
309309

310310
/**
311311
* Abort transaction
312-
* @param {String} transaction id generated by Stomp.begin
312+
* @param {String} transaction id generated by stomp.Stomp.begin()
313313
*/
314314
Stomp.prototype.abort = function(transaction_id) {
315315
var self = this;

0 commit comments

Comments
 (0)