Comparing version 0.8.1-rc4 to 0.8.2
@@ -197,30 +197,6 @@ 'use strict'; | ||
var _ = _ref8._, | ||
_val = _ref8._val, | ||
cp = _ref8.cp; | ||
_val = _ref8._val; | ||
var cps = Array.isArray(_val) ? _val : [_val]; | ||
$(cps, function (key, component) { | ||
if (_typeof(component) === 'object') { | ||
var onFunction = function onFunction(_ref9) { | ||
var _val = _ref9._val; | ||
_val = _val.bind(cp); | ||
}; | ||
var onObject = function onObject(_ref10) { | ||
var object = _ref10.object, | ||
depth = _ref10.depth; | ||
scanObject({ | ||
object: object, | ||
depth: depth, | ||
onObject: onObject, | ||
onFunction: onFunction | ||
}); | ||
}; | ||
onObject({ | ||
object: component, | ||
depth: '' | ||
}); | ||
} | ||
var cp = typeof component === 'function' ? component({ | ||
@@ -238,3 +214,24 @@ _: _ | ||
_.$use(cp); | ||
var onFunction = function onFunction(_ref9) { | ||
var depth = _ref9.depth, | ||
_val = _ref9._val; | ||
set$1(_[name], depth, _val.bind(_[name])); | ||
}; | ||
var onObject = function onObject(_ref10) { | ||
var object = _ref10.object, | ||
depth = _ref10.depth; | ||
scanObject({ | ||
object: object, | ||
depth: depth, | ||
onObject: onObject, | ||
onFunction: onFunction | ||
}); | ||
}; | ||
onObject({ | ||
object: _[name] | ||
}); | ||
_.$use(_[name]); | ||
}); | ||
@@ -241,0 +238,0 @@ } |
{ | ||
"name": "menhera", | ||
"version": "0.8.1-rc4", | ||
"version": "0.8.2", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
37575
1376