Comparing version 1.0.2 to 1.0.3
@@ -22,2 +22,4 @@ // Copyright Teleportd | ||
var util = require('util'); | ||
var events = require('events'); | ||
@@ -56,8 +58,7 @@ var base = require("./base.js"); | ||
exports.factory_expose = function(exports, factory) { | ||
if(!_factory) | ||
_factory = factory({}); | ||
exports.get = function() { | ||
return _factory; | ||
} | ||
}; | ||
/** | ||
* Factory should be exposed using the following code: | ||
* ``` | ||
* exports = factory({}); | ||
* ``` | ||
*/ |
@@ -58,2 +58,1 @@ // Copyright Teleportd | ||
exports.factory = factory.factory; | ||
exports.factory_expose = factory.factory_expose; |
{ | ||
"name": "fwk", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Simple JS framework for node.js", | ||
@@ -5,0 +5,0 @@ "keywords": ["fwk", "node"], |
1425
47887