Commit graph

63 commits

Author SHA1 Message Date
ifandelse
ae29f952fd Finished conversion to gulp, added npm scripts, updated bower.json and package.json 2014-01-23 21:58:09 -05:00
ifandelse
43b7f5fe75 Converting to test build and not src files 2014-01-20 18:03:03 -05:00
ifandelse
40897fac57 Fixed memory leak with queued unsubscribe calls in localBus. Fixes #53 2014-01-12 01:22:40 -05:00
ifandelse
e436ccf1c4 Updated mocha assets, fixed problem with uncleared setTimeout (causing mocha to report a failure when there was not one), changed var that = this to use 'self' instead of 'that' (for consistency). 2013-09-10 01:49:29 -04:00
Christian Haas
8bdb2586a6 Ensuring context in self-disposing callbacks
- allowing context modification after delayed configurations
2013-09-06 21:56:09 +02:00
Christian Haas
ac3e7ea7d0 Added context tests for limited callbacks
- properly running the delayed context tests
- formatting
2013-09-06 21:21:16 +02:00
Christian Haas
dfde7b48d6 Ensuring context set for delayed callbacks
- also, fixing standalone test runner
2013-09-06 20:50:57 +02:00
ifandelse
a0da26205f Massive Whitespace Clean-up + adding jshintrc, etc. 2013-09-04 22:57:56 -04:00
Doug Neiner
6680cb497d Both defer and withDelay now properly pass the envelope along with the data for the callback. Fixes #41 2013-09-04 14:44:25 -05:00
ifandelse
25425c0cda Merged and tweaked PR from @GerHobbelt, which fixed issue with nested publishes breaking the unsubscribe queue behavior 2013-08-10 12:19:34 -04:00
ifandelse
e909bbad08 Fixed bug reported by @tsgautier in Issue #34. The publish call was incorrectly handling a mutating array of subscribers as it iterated over them. I also fixed the once() call to return the instance. 2013-05-01 00:42:09 -04:00
Doug Neiner
2e1bb06735 Added test to show failure of matching topics starting with a slash 2013-04-30 20:04:05 -05:00
Jim Cowart
f6729c191b Fixed failing test and enabled all test modules to run 2013-03-03 00:33:44 -05:00
Jim Cowart
a2db8ab2d7 Added tests for Bindings resolver to specifically target failing conditions. Now to fix those failures.... 2013-03-02 16:32:57 -05:00
Jim Cowart
51a244c210 Updated bug in Channel Definition publish, and fixed tests to catch it 2013-01-15 20:15:06 -05:00
Jim Cowart
2cd58733d8 Added tests for ChannelDefinition.publish 2013-01-11 17:02:32 -05:00
Jim Cowart
2986035b9d Updated README and examples, adding repository root page 2013-01-11 12:00:26 -05:00
Jim Cowart
3acbb142e6 Removed a *lot* of code. Postal's diet is in full force... 2012-12-20 02:32:45 -05:00
Jim Cowart
8530716096 initial v0.8.0RC changes' 2012-12-19 20:11:24 -05:00
Jim Cowart
68f833cdc4 Set 'this' context of constraints to match that of the callback. Added tests & removed jshint dependency temporarily 2012-11-16 20:29:11 -05:00
Jim Cowart
5c2727acfd added .once() shortcut to SubscriptionDefinition and related test 2012-11-07 21:30:51 -05:00
Jim Cowart
cfcd18fd0c Converted tests from QUnit to Mocha+Expect 2012-10-26 01:17:15 -04:00
Jim Cowart
354a3187bd Fixed minor bug on node.js when publishing + no subscribers 2012-10-03 23:27:14 -04:00
Doug Neiner
0607980d0d Fixed issue with linkChannels that would prevent multiple output topics from publishing 2012-09-05 11:23:55 -05:00
Jim Cowart
83c0464429 Code updated to v 0.7.0, prepping to tag 2012-08-28 12:06:19 -04:00
Jim Cowart
4c0aea72b9 Renamed 'ignoreDuplicates' to 'distinctUntilChanged' to better track with @nicholascloud's contributions on 'distinct'. Bumped version to 0.6.4 2012-05-24 23:13:14 -04:00
Jim Cowart
bb4217f7fc Merged pull request #4 from @nicholascloud. Prepping for v0.6.4 bump 2012-05-24 23:03:15 -04:00
Jim Cowart
d3ad06218b Fixed bug with subscription priority 2012-05-22 14:35:36 -04:00
Jim Cowart
a77617e8f4 Updated README and removed session related calls from postal module for now 2012-04-23 22:59:31 -04:00
Jim Cowart
951738d56b Reformatted code to more closely (but not exactly) line up with jQuery core formatting standards. Updated postal.socket dependencies in the node example, etc. 2012-04-21 00:56:40 -04:00
Jim Cowart
e25d9196ec utils and configuration refactor 2012-04-20 01:53:46 -04:00
Jim Cowart
300115ce9a Added postal.utils namespace, added tests 2012-04-18 18:16:52 -04:00
Jim Cowart
e5d08bac53 Adding more tests 2012-03-27 10:50:59 -04:00
Jim Cowart
ec182d82b9 Added tests for defer throttled, debounce 2012-03-27 02:05:45 -04:00
Jim Cowart
d2abfd881a Added tests for defer and delay. Removed 'whenHandledThenExecute'. Added postal.reset. Fixed bug in IE with setTimeout call in defer. 2012-03-27 00:55:58 -04:00
Jim Cowart
1f8bf876e2 README Updates 2012-03-22 01:34:53 -04:00
Jim Cowart
db785cecdb Refactoring publish and subscribe API signatures 2012-03-22 01:14:40 -04:00
Jim Cowart
b48bdfc276 Updated README, consolidated standard and AMD build processes 2012-03-20 02:04:35 -04:00
Jim Cowart
e542269058 Updated API to consistently use (data, envelope) signature wherever suscribers and publishers are involved 2012-03-19 23:01:38 -04:00
Jim Cowart
bc29519b4c Changed 'exchange' to 'channel', continued refactor for arg parsing, etc. 2012-03-18 21:51:56 -04:00
Jim Cowart
e59d3ab07a initial pass for perf cleanup 2012-03-01 03:40:47 -05:00
Jim Cowart
6d3e301cf4 Added the bindExchangeses call to the API, including initial tests 2012-02-26 16:22:54 -05:00
Alex Robson
76c0cf337b Changing subscription notifications to a message on the postal channel 2012-02-22 22:33:15 -05:00
Alex Robson
8d0c8d361e Adding subscribtion-created, subcsription-removed event publishes to wiretaps on subscribe/unsubscribe. 2012-02-22 16:41:34 -05:00
Jim Cowart
3564224e2b Added shortcut publish and subscribe methods to the postal api object. This allows for quick publishing/subscribing where it's either not important to have a handle to the channel, or the channel handle isn't known or accessible. 2011-09-27 18:03:07 -04:00
Jim Cowart
bded8075d5 Fixing issues with npm package deployment 2011-09-21 01:12:55 -04:00
Jim Cowart
d9fa989611 Refactored postal to use anvil.js for builds 2011-09-20 15:35:36 -04:00
Jim Cowart
bda33ea76e Changed createChannel method name to channel. Rebuilt output file 2011-09-13 01:13:51 -04:00
Jim Cowart
2afc33af11 Further refactor work on the overall API, and adapting the unit tests to cover the new code base 2011-09-13 00:55:49 -04:00
Jim Cowart
f33a06dd77 Refactored the API yet again - splitting out the ChannelDefinition concerns from the SubscriptionDefinition concerns 2011-09-12 17:49:21 -04:00