Comparing version 0.0.2 to 0.0.3
@@ -8,3 +8,3 @@ var async = require('async'); | ||
*/ | ||
var asyncgo = function() { | ||
module.exports = function() { | ||
var self = this; | ||
@@ -74,14 +74,5 @@ | ||
// Apply the method with arguments. | ||
var ref = asyncgo.getRef.call(self, method, args); | ||
ref[method].apply(ref, args); | ||
self[method].apply(self, args); | ||
}); | ||
}; | ||
}; | ||
// Allow them to change the reference. | ||
asyncgo.getRef = function(method, args) { | ||
return this[method]; | ||
}; | ||
// Set the export. | ||
module.exports = asyncgo; | ||
}; |
{ | ||
"name": "asyncgo", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Provides a wrapper method for easily integrating asynchronous callbacks with Async.js.", | ||
@@ -5,0 +5,0 @@ "author": { |
2917
60