mirror of
https://github.com/Hopiu/postal.js.git
synced 2026-03-16 22:20:23 +00:00
Bumped to version 0.8.7
This commit is contained in:
parent
21a5ef64f2
commit
95e5040b5b
9 changed files with 19 additions and 19 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# Postal.js
|
||||
|
||||
## Version 0.8.6 (Dual Licensed [MIT](http://www.opensource.org/licenses/mit-license) & [GPL](http://www.opensource.org/licenses/gpl-license))
|
||||
## Version 0.8.7 (Dual Licensed [MIT](http://www.opensource.org/licenses/mit-license) & [GPL](http://www.opensource.org/licenses/gpl-license))
|
||||
|
||||
## What is it?
|
||||
Postal.js is an in-memory message bus - very loosely inspired by [AMQP](http://www.amqp.org/) - written in JavaScript. Postal.js runs in the browser, or on the server-side using Node.js. It takes the familiar "eventing-style" paradigm (of which most JavaScript developers are familiar) and extends it by providing "broker" and subscriber implementations which are more sophisticated than what you typically find in simple event delegation.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "postal.js",
|
||||
"version": "0.8.6",
|
||||
"version": "0.8.7",
|
||||
"main": ["lib/postal.min.js", "lib/postal.js"],
|
||||
"dependencies": {
|
||||
"underscore": "~1.3.0"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
postal
|
||||
Author: Jim Cowart (http://freshbrewedcode.com/jimcowart)
|
||||
License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license)
|
||||
Version 0.8.6
|
||||
Version 0.8.7
|
||||
*/
|
||||
(function ( root, factory ) {
|
||||
if ( typeof module === "object" && module.exports ) {
|
||||
|
|
@ -112,9 +112,9 @@
|
|||
|
||||
defer : function () {
|
||||
var fn = this.callback;
|
||||
this.callback = function ( data ) {
|
||||
this.callback = function ( data, env ) {
|
||||
setTimeout( function () {
|
||||
fn( data );
|
||||
fn( data, env );
|
||||
}, 0 );
|
||||
};
|
||||
return this;
|
||||
|
|
@ -188,9 +188,9 @@
|
|||
throw "Milliseconds must be a number";
|
||||
}
|
||||
var fn = this.callback;
|
||||
this.callback = function ( data ) {
|
||||
this.callback = function ( data, env ) {
|
||||
setTimeout( function () {
|
||||
fn( data );
|
||||
fn( data, env );
|
||||
}, milliseconds );
|
||||
};
|
||||
return this;
|
||||
|
|
|
|||
4
example/amd/js/libs/postal/postal.min.js
vendored
4
example/amd/js/libs/postal/postal.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -2,7 +2,7 @@
|
|||
postal
|
||||
Author: Jim Cowart (http://freshbrewedcode.com/jimcowart)
|
||||
License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license)
|
||||
Version 0.8.6
|
||||
Version 0.8.7
|
||||
*/
|
||||
(function ( root, factory ) {
|
||||
if ( typeof module === "object" && module.exports ) {
|
||||
|
|
@ -112,9 +112,9 @@
|
|||
|
||||
defer : function () {
|
||||
var fn = this.callback;
|
||||
this.callback = function ( data ) {
|
||||
this.callback = function ( data, env ) {
|
||||
setTimeout( function () {
|
||||
fn( data );
|
||||
fn( data, env );
|
||||
}, 0 );
|
||||
};
|
||||
return this;
|
||||
|
|
@ -188,9 +188,9 @@
|
|||
throw "Milliseconds must be a number";
|
||||
}
|
||||
var fn = this.callback;
|
||||
this.callback = function ( data ) {
|
||||
this.callback = function ( data, env ) {
|
||||
setTimeout( function () {
|
||||
fn( data );
|
||||
fn( data, env );
|
||||
}, milliseconds );
|
||||
};
|
||||
return this;
|
||||
|
|
|
|||
4
example/standard/js/postal.min.js
vendored
4
example/standard/js/postal.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -2,7 +2,7 @@
|
|||
postal
|
||||
Author: Jim Cowart (http://freshbrewedcode.com/jimcowart)
|
||||
License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license)
|
||||
Version 0.8.6
|
||||
Version 0.8.7
|
||||
*/
|
||||
(function ( root, factory ) {
|
||||
if ( typeof module === "object" && module.exports ) {
|
||||
|
|
|
|||
2
lib/postal.min.js
vendored
2
lib/postal.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name" : "postal",
|
||||
"description" : "Pub/Sub library providing wildcard subscriptions, complex message handling, etc. Works server and client-side.",
|
||||
"version" : "0.8.6",
|
||||
"version" : "0.8.7",
|
||||
"homepage" : "http://github.com/postaljs/postal.js",
|
||||
"repository" : {
|
||||
"type" : "git",
|
||||
|
|
|
|||
Loading…
Reference in a new issue