Comparing version 0.0.0 to 0.0.1
@@ -15,5 +15,3 @@ "use strict"; | ||
var callFunc = function callFunc(func, args, scope) { | ||
if (_reshowConstant.FUNCTION === (0, _typeof2.default)(func)) { | ||
func.apply(scope, args); | ||
} | ||
return _reshowConstant.FUNCTION === (0, _typeof2.default)(func) ? func.apply(scope, args) : _reshowConstant.UNDEFINED; | ||
}; | ||
@@ -20,0 +18,0 @@ |
import _typeof from "reshow-runtime/es/helpers/typeof"; | ||
import { FUNCTION } from 'reshow-constant'; | ||
import { FUNCTION, UNDEFINED } from 'reshow-constant'; | ||
var callFunc = function callFunc(func, args, scope) { | ||
if (FUNCTION === _typeof(func)) { | ||
func.apply(scope, args); | ||
} | ||
return FUNCTION === _typeof(func) ? func.apply(scope, args) : UNDEFINED; | ||
}; | ||
export default callFunc; |
{ | ||
"name": "call-func", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"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
2019
18