Comparing version 0.0.7 to 0.0.8
@@ -0,1 +1,7 @@ | ||
0.0.8 / 2012-02-9 | ||
=== | ||
* Added new MethodMissing plugin | ||
* Bug fixes | ||
* Changed inflections to underscore between word boundaries and numbers and vice versa with camelize. | ||
0.0.7 / 2012-02-04 | ||
@@ -2,0 +8,0 @@ ================== |
@@ -13,4 +13,4 @@ /* | ||
var UNDERSCORE = '_'; | ||
var UNDERSCORE_CONVERT_REGEXP1 = /([A-Z]+)([A-Z][a-z])/g; | ||
var UNDERSCORE_CONVERT_REGEXP2 = /([a-z\d])([A-Z])/g; | ||
var UNDERSCORE_CONVERT_REGEXP1 = /([A-Z]+)(\d+|[A-Z][a-z])/g; | ||
var UNDERSCORE_CONVERT_REGEXP2 = /(\d+|[a-z])(\d+|[A-Z])/g; | ||
var UNDERSCORE_CONVERT_REPLACE = '$1_$2'; | ||
@@ -17,0 +17,0 @@ |
@@ -87,5 +87,9 @@ var Proxy = require("node-proxy"), object = require("./object"), merge = object.merge, functions = require("./functions"), misc = require("./misc"); | ||
*/ | ||
comb.handlerProxy = function (obj, opts) { | ||
comb.handlerProxy = function (obj, opts, proto) { | ||
opts = opts || {}; | ||
return Proxy.create(merge(handlerMaker(obj), opts)); | ||
if (misc.isUndefined(proto)) { | ||
return Proxy.create(merge(handlerMaker(obj), opts)); | ||
} else { | ||
return Proxy.create(merge(handlerMaker(obj), opts), object.isHash(proto) ? proto : proto.prototype); | ||
} | ||
}; | ||
@@ -92,0 +96,0 @@ |
@@ -513,3 +513,3 @@ var base = require("./base/object"); | ||
if (typeof ret.init === "function") { | ||
ret.init(); | ||
ret = ret.init() || ret; | ||
} | ||
@@ -556,3 +556,3 @@ return ret; | ||
if (typeof ret.init === "function") { | ||
ret.init(); | ||
ret = ret.init() || ret; | ||
} | ||
@@ -559,0 +559,0 @@ return ret; |
@@ -5,3 +5,4 @@ var comb = exports; | ||
Broadcaster : require("./Broadcaster"), | ||
Middleware : require("./Middleware") | ||
Middleware : require("./Middleware"), | ||
MethodMissing : require("./MethodMissing") | ||
}; |
{ | ||
"name": "comb", | ||
"description": "A framework for node", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"keywords" : ["OO", "Object Oriented", "Collections", "Tree", "HashTable", "Pool", "Logging", "Promise", "Promises", "Proxy"], | ||
@@ -6,0 +6,0 @@ "repository": { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
351834
92
8441
0