Commit graph

103 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
37ac4a68f0 Changed how uglify was compressing IIFE wrapper, and added gulp-plato 2014-01-15 10:50:01 -05:00
ifandelse
87f6cc57e0 Working build with Gulp. No built-in browser (or console) test runner yet. 2014-01-15 00:52:50 -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
Jim Cowart
354a3187bd Fixed minor bug on node.js when publishing + no subscribers 2012-10-03 23:27:14 -04:00
Jim Cowart
314136cf4a Prepping for 0.7.2 tag 2012-09-25 21:23:06 -04:00
Jim Cowart
63ea8f866d Removed separate 'standard' and 'amd' client browser builds and combined them into one build with amd detection. 2012-09-25 20:48:36 -04:00
Jim Cowart
08f313fa69 Updated package.json and completed post-merge tweaks from @arobson's pull request 2012-09-23 00:16:35 -04:00
Jim Cowart
22bbd6e5ff Updated package.json in root directory, added package.json to node example project, removed node_modules and updated gitignore 2012-09-22 23:43:40 -04:00
Alex Robson
9e3d410d05 Initial work towards a cleaner postal build 2012-09-19 01:51:05 -05:00
Jim Cowart
441bd8dac1 Updated package.json with Doug's information 2012-09-05 14:34:46 -04:00