fire-up
Version:
Fire Up! is a dependency injection container designed specifically for node.js with a powerful but sleek API.
21 lines (15 loc) • 394 B
JavaScript
;
// Fire me up!
module.exports = {
implements: 'instantiation/factoryAdapters/constructorMultiple',
type: 'multiple instances'
};
var index = 0;
module.exports._constructor = function () {
this.me = 'instantiation/factoryAdapters/constructorMultiple';
this.index = index;
index+=1;
};
module.exports._constructor.prototype.getMe = function () {
return this.me;
};