@ -191,8 +191,8 @@ define([
/* add a history button */
var histConfig = {
onLocal: config.onLocal(),
onRemote: config.onRemote(),
onLocal: config.onLocal,
onRemote: config.onRemote,
setHistory: setHistory,
applyVal: function (val) {
var remoteDoc = JSON.parse(val || '{}').content;
@ -500,8 +500,8 @@ define([
onLocal: realtimeOptions.onLocal(),
onRemote: realtimeOptions.onRemote(),
onLocal: realtimeOptions.onLocal,
onRemote: realtimeOptions.onRemote,
applyVal: function (val) { applyHjson(val || '["BODY",{},[]]'); },
$toolbar: $bar
@ -313,8 +313,8 @@ define([