mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
fix
This commit is contained in:
@@ -258,7 +258,7 @@ __PluginManager__.register('support', function(module, exports, require, global)
|
|||||||
});
|
});
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
function getInstanceData(node, key, def = null) {
|
function getNodeData(node, key, def = null) {
|
||||||
if(!Array.isArray(key)) {
|
if(!Array.isArray(key)) {
|
||||||
key = [key];
|
key = [key];
|
||||||
}
|
}
|
||||||
@@ -270,7 +270,7 @@ __PluginManager__.register('support', function(module, exports, require, global)
|
|||||||
if(!Array.isArray(branch)) {
|
if(!Array.isArray(branch)) {
|
||||||
branch = [branch];
|
branch = [branch];
|
||||||
}
|
}
|
||||||
if(!isObject(object)) return null;
|
if(!isObject(object)) return def;
|
||||||
var i = 0, obj = {}, result = true;
|
var i = 0, obj = {}, result = true;
|
||||||
obj[i] = object;
|
obj[i] = object;
|
||||||
branch.forEach(function (key) {
|
branch.forEach(function (key) {
|
||||||
|
|||||||
Reference in New Issue
Block a user