...
parent
10d6493ed6
commit
f42ff44341
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
|
@ -118,25 +118,27 @@ var deccoboard = (function()
|
|||
{
|
||||
replacementString = lastPathObject;
|
||||
|
||||
_.each(dataValue, function(value, name)
|
||||
{
|
||||
if(_.keys(dataValue).indexOf(replacementString) == -1)
|
||||
{
|
||||
_.each(dataValue, function(value, name)
|
||||
{
|
||||
if(name != lastPathObject && name.indexOf(lastPathObject) == 0)
|
||||
{
|
||||
var followChar = undefined;
|
||||
|
||||
if(name != lastPathObject && name.indexOf(lastPathObject) == 0)
|
||||
{
|
||||
var followChar = undefined;
|
||||
if(_.isArray(value))
|
||||
{
|
||||
followChar = "[";
|
||||
}
|
||||
else if(_.isObject(value))
|
||||
{
|
||||
followChar = ".";
|
||||
}
|
||||
|
||||
if(_.isArray(value))
|
||||
{
|
||||
followChar = "[";
|
||||
}
|
||||
else if(_.isObject(value))
|
||||
{
|
||||
followChar = ".";
|
||||
}
|
||||
|
||||
options.push({value: name, follow_char: followChar});
|
||||
}
|
||||
});
|
||||
options.push({value: name, follow_char: followChar});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue