Update codemirror settings in realtime

pull/1/head
yflory 5 years ago
parent 92a41f84f7
commit 06809fd3ba

@ -738,7 +738,10 @@ define([
var object = getAttributeObject(data.attr); var object = getAttributeObject(data.attr);
object.obj[object.key] = data.value; object.obj[object.key] = data.value;
} catch (e) { return void cb({error: e}); } } catch (e) { return void cb({error: e}); }
onSync(cb); onSync(function () {
cb();
broadcast([], "UPDATE_METADATA");
});
}; };
Store.getAttribute = function (clientId, data, cb) { Store.getAttribute = function (clientId, data, cb) {
var object; var object;

Loading…
Cancel
Save