Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
dSchema.options = opt;
}
var bAttr = [], bAttr2 = [];
Object.keys(lastTypeInfo_).forEach( function(item) {
var b = lastTypeInfo_[item];
if (Array.isArray(b))
bAttr2.push([b[0] || 0,item]); // [iOrder,sAttr]
});
bAttr2.sort( function(a,b) { return a[0] - b[0]; } );
bAttr2.forEach( function(item) { bAttr.push(item[1]); } );
var baseUrl = lastSchemaOpt_.option.baseUrl || '';
return [lastSchemaIndex_,dSchema, { name:lastSchemaOpt_.name,
doc:lastSchemaOpt_.doc, flag:lastSchemaOpt_.flag, baseUrl:baseUrl,
}, bAttr, comp._._htmlText && !comp.props['marked.']]; // no editing 'html.' for MarkedDiv like
};