Good day!
Override the return value of the function. Suppose there is:
function getSettings() { return { набор настроек} }
called in the template for:
$('#text').editor(getSettings());
In certain circumstances, I need to expand the set of returned settings. Those. I would like to have something like:
//новая function getSettings() { setting = getSettings(); //получаем старые настройки newsetting = { новые настройки}; $.merge(setting ,newsetting ); return setting; }
I am not familiar with javascript and jQuery, so here I