benjaminws/stomp-js — pull request #28 by dkhunt27 (2013-07-30 18:08:56+00:00)
Title: Multidestinations support

Added Features:
- subscribe/unsubscribe now can take an array of destinations
- test coverage improved; some unit and integration tests (still more can be done here)
- working example app demonstrating connect, disconnect, subscribe, and publish
- updated docs to use jsduck
- added make file for common commands

Breaking API Changes:
- to create a client
- new: var Stomp = require('stomp'); var stompClient = new Stomp().Client(args);
- old: var stomp = require('stomp'); var stompClient = new stomp.Stomp(args);

- to create a stomp utils (although this should be handled all internally)
- new: var StompUtils = require('./stomp.utils'); var stompUtils = new StompUtils();
- old: var stomp_utils = require('./stomp-utils'); var stompUtils = new stomp_utils.StompUtils();

- to create a stomp logger (although this should be handled all internally)
- new: var StompLogger = require('./stomp.logger.js'); var log = new StompLogger(debug);
- old: var stomp_utils = require('./stomp-utils'); var log = new stomp_utils.StompLogging(debug);;

Other:
- refactored using revealing module pattern
- other OCD refactoring
- jshint fixes
- bumped version to 0.2.0