Commit graph

110 commits

Author SHA1 Message Date
ifandelse
86570ea701 Prepped for v0.9.0 release candidate 1 2014-02-11 14:41:38 -05:00
ifandelse
ba9b3bf1ca Enabled pipeline add-ons on channel publish, added tests 2014-02-07 13:49:04 -05:00
ifandelse
cc20b691bb Moved linkChannels behavior to add-on 2014-01-29 02:38:58 -05:00
ifandelse
7647d6b21e Updated Conduit code, slimmed down basic version 2014-01-29 02:25:51 -05:00
ifandelse
0cd75e6ddc Removed utils namespace, removed localBus and moved implementation to postal namespace itself. 2014-01-27 16:59:45 -05:00
ifandelse
b1e259f9f0 Working towards a basic and full build option. Added separate strategies-only build, etc. 2014-01-27 01:52:22 -05:00
ifandelse
c34650abc5 Updated SubscriptionDefinition's debounce to use strategy. Removed factory method call on CommonJS import in tests 2014-01-26 02:25:42 -05:00
ifandelse
72388c6ae8 Added strategy/pipeline behavior 2014-01-25 01:27:33 -05:00
ifandelse
eaccef227e Refactored where subscription created and removed messages are published. Added unsubscribe to postal object. 2014-01-24 00:09:12 -05:00
ifandelse
ab978b9d3e Added noConflict method and test 2014-01-23 23:30:03 -05:00
ifandelse
f4787f506b Build now runs on gulp.js, updated how dependencies are managed 2014-01-23 22:02:06 -05:00
ifandelse
d25b1d0f48 Added check for valid constructor args to SubscriptionDefinition as well as a check on topic.length. Fixes #48 2014-01-12 15:56:19 -05:00
ifandelse
40897fac57 Fixed memory leak with queued unsubscribe calls in localBus. Fixes #53 2014-01-12 01:22:40 -05:00
ifandelse
9241e0171c Changed hasOwnProperty call to use Object.prototype to avoid IE8 bug. Fixes #49 2014-01-10 02:05:02 -05:00
Doug Neiner
56f813de66 Fixed issue with global's test, bumped version number to 0.8.9 [#46] 2013-09-10 06:54:01 -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
ifandelse
5d1e7f8f88 Updated __postalReady__ array logic to expect objects with onReady callbacks 2013-09-06 11:11:29 -04:00
ifandelse
5a74064466 Fixed bug with postal.configuration.SYSTEM_CHANNEL reference and added __postalReady__ array to help external tools like Chrome dev tools extension(s) to know when postal has been loaded... 2013-09-05 02:18:44 -04:00
ifandelse
a0da26205f Massive Whitespace Clean-up + adding jshintrc, etc. 2013-09-04 22:57:56 -04:00
ifandelse
95e5040b5b Bumped to version 0.8.7 2013-09-04 16:11:47 -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
abd7b46993 Bumped version and updated contributor list to add @GerHobbelt 2013-08-10 12:23:58 -04: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
d163f597dc Merge branch 'issue-36' of https://github.com/GerHobbelt/postal.js into GerHobbelt-issue-36 2013-08-08 22:19:42 -04:00
ifandelse
394227a1cc bumped version info 2013-07-24 00:31:51 -04:00
ifandelse
d936f7859d Updated getSubscribersFor method to work around bug in IE 8/9 2013-07-24 00:25:16 -04:00
Ger Hobbelt
38cf3c7c5f fix for #36: account for nested .publish() invocations and dequeue all queued .unsubscribe() calls which occurred during that time. 2013-06-14 23:16:37 +02: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
f46f153982 Made the resolver more permissive. Fixed issue where topics starting with a / would never resolve. 2013-04-30 21:26:48 -05:00
ifandelse
dcd8a357d4 Bumped build assets to v0.8.3 2013-04-27 13:05:48 -04:00
ifandelse
ccd91a5326 Merge branch 'master' of https://github.com/postaljs/postal.js 2013-04-27 13:03:09 -04:00
ifandelse
2391e5426f Bumped to v0.8.3, making underscore arg to commonjs factory method optional 2013-04-27 13:01:21 -04:00
Doug Neiner
dcddf5392e Updated defer to match withDelay for calling setTimeout. Fixes #28 2013-03-17 20:24:39 -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
3f1396cb35 Added regex instance caching to resolver 2013-03-03 00:25:48 -05:00
Jim Cowart
2097c638ab Updated bindings resolver to fix problem '#' not matching 0 words when nested inside topic string 2013-03-03 00:17:26 -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
f935902df7 Updated publish implementation to remove the need for cloning the array 2013-01-15 18:01:26 -05:00
Jim Cowart
180593a88b Updated publish loop to eliminate need for clone 2013-01-15 16:17:12 -05:00
Jim Cowart
b0461a54b4 Updated examples 2013-01-11 17:21:22 -05:00
Jim Cowart
2cd58733d8 Added tests for ChannelDefinition.publish 2013-01-11 17:02:32 -05:00
Jim Cowart
fea0ddf952 Fixed potential bug in publishing from ChannelDefinition 2013-01-11 16:25:34 -05:00
Jim Cowart
2986035b9d Updated README and examples, adding repository root page 2013-01-11 12:00:26 -05:00
Jim Cowart
9bc8961a97 Updated build assets and removed old resolver 2012-12-20 02:47:44 -05:00
Jim Cowart
fb4e9ae71a Trimmed more code out 2012-12-20 02:45:05 -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
c64c2ae119 Updated build assets 2012-11-16 20:29:35 -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