Commit graph

216 commits

Author SHA1 Message Date
ifandelse
f2444a194f Initial move to using strategies for subscriber callback modifications. 2013-09-12 01:03:38 -04:00
Jim Cowart
186c541a37 Merge pull request #47 from dcneiner/globals-test
Fixed issue with global's test, bumped version number to 0.8.9 [#46]
2013-09-10 07:11:20 -07: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
c1363381c4 Added @dertseha to contributors list in package.json. Merges #44 (and closes #44). 2013-09-10 01:55:07 -04: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
ffb93fcb2f Merge branch 'subscription_fixes' of https://github.com/dertseha/postal.js into dertseha-subscription_fixes 2013-09-10 00:16:44 -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
5d1e7f8f88 Updated __postalReady__ array logic to expect objects with onReady callbacks 2013-09-06 11:11:29 -04:00
Christian Haas
ae5548cc3f Merge pull request #1 from postaljs/master
Update from upstream
2013-09-05 12:04:35 -07: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
1c17297e20 Merging in updated nuget package 2013-09-04 22:58:45 -04:00
ifandelse
a0da26205f Massive Whitespace Clean-up + adding jshintrc, etc. 2013-09-04 22:57:56 -04:00
Jim Cowart
ad4bbe5d44 Updated nuget package 2013-09-04 16:43:21 -04:00
ifandelse
95e5040b5b Bumped to version 0.8.7 2013-09-04 16:11:47 -04:00
Jim Cowart
21a5ef64f2 Merge pull request #42 from dcneiner/subscription-envelope
Both defer and withDelay now properly pass the envelope. Fixes #41
2013-09-04 12:47:18 -07: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
Jim Cowart
d964b85cae Updated nuget package 2013-08-10 12:36:46 -04: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
Jim Cowart
3f7d51e55c Merge pull request #33 from dcneiner/slash-in-topic
Slash in topic prevents the topic from resolving.
2013-04-30 20:42:00 -07: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
Doug Neiner
2e1bb06735 Added test to show failure of matching topics starting with a slash 2013-04-30 20:04:05 -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
Jim Cowart
25d4550e57 Merge pull request #29 from dcneiner/settimeout-data
Updated defer to match withDelay for calling setTimeout. Fixes #28
2013-03-18 08:34:45 -07: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
c0b1d21a2b Updated examples 2013-01-11 15:50:25 -05:00
Jim Cowart
ad61e30911 Updated README 2013-01-11 12:18:07 -05:00
Jim Cowart
af6c11dc55 Updated README 2013-01-11 12:09:08 -05:00
Jim Cowart
2986035b9d Updated README and examples, adding repository root page 2013-01-11 12:00:26 -05:00
Jim Cowart
0e04130f8b Updated README 2013-01-10 17:44:16 -05:00
Jim Cowart
93b1f3011f Updated README 2013-01-10 17:31:49 -05:00