Comparing version 0.8.3 to 0.8.4
@@ -91,3 +91,3 @@ var Communication = require('./Communication'); | ||
var callbackFn = function(err, res){ callback( err, comm.twist(self.name, err, res) ); }; | ||
var params = [].concat( comm.params ).concat( serviceFn.length > comm.params+1 ? igniteFn : [] ).concat( callbackFn ); | ||
var params = [].concat( comm.params ).concat( serviceFn.length > comm.params.length+1 ? igniteFn : [] ).concat( callbackFn ); | ||
@@ -94,0 +94,0 @@ this.innerBurn( comm, callback, serviceFn, igniteFn, params ); |
{ | ||
"name": "harcon", | ||
"version": "0.8.3", | ||
"version": "0.8.4", | ||
"description": "Messaging/Service Bus for the harmonic convergence of node-based enterprise entities.", | ||
@@ -46,3 +46,3 @@ "keywords": [ | ||
}, | ||
"_id": "harcon@0.8.3" | ||
"_id": "harcon@0.8.4" | ||
} |
@@ -5,9 +5,18 @@ var Inflicter = require('../lib/Inflicter'); | ||
/* | ||
var claire = { | ||
name: 'claire', | ||
context: 'dire', | ||
bonjour: function(greetings1, callback){ | ||
callback( null, 'Bonjour!' ); | ||
} | ||
}; | ||
var claireFS = inflicter.addicts( claire ); | ||
var marie = { | ||
name: 'marie', | ||
context: 'morning', | ||
simple: function(greetings1, greetings2, callback){ | ||
marie.greetings = [ greetings1, greetings2 ]; | ||
callback( null, 'Bonjour!' ); | ||
simple: function(greetings1, greetings2, ignite, callback){ | ||
console.log( ignite.toString() ); | ||
ignite( 'dire.bonjour', 'Say bonjour!', function(err, res){ | ||
callback(err, res[0]); | ||
} ); | ||
} | ||
@@ -31,4 +40,4 @@ }; | ||
} ); | ||
*/ | ||
/* | ||
inflicter.addict('peter', 'greet.*', function(greetings1, greetings2, callback){ | ||
@@ -49,3 +58,3 @@ callback(null, 'Hi there!'); | ||
} ); | ||
*/ | ||
setTimeout( function(){ inflicter.close(); }, 2000); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
414733
1583