Comparing version 0.0.2 to 0.0.3
@@ -15,3 +15,3 @@ "use strict"; | ||
var callFunc = function callFunc(func, args, scope) { | ||
return _reshowConstant.FUNCTION === (0, _typeof2.default)(func) ? func.apply(scope, args) : undefined; | ||
return _reshowConstant.FUNCTION === (0, _typeof2.default)(func) ? func.apply(scope, args) : func; | ||
}; | ||
@@ -18,0 +18,0 @@ |
@@ -5,5 +5,5 @@ import _typeof from "reshow-runtime/es/helpers/typeof"; | ||
var callFunc = function callFunc(func, args, scope) { | ||
return FUNCTION === _typeof(func) ? func.apply(scope, args) : undefined; | ||
return FUNCTION === _typeof(func) ? func.apply(scope, args) : func; | ||
}; | ||
export default callFunc; |
{ | ||
"name": "call-func", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "call function", | ||
@@ -5,0 +5,0 @@ "repository": "react-atomic/react-atomic-organism", |
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
1982