|
|
@ -120,8 +120,8 @@ var create = function(config) {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// propogate()
|
|
|
|
// propogate()
|
|
|
|
return function (newContent) {
|
|
|
|
return function (newContent, force) {
|
|
|
|
if (newContent !== content) {
|
|
|
|
if (newContent !== content || force) {
|
|
|
|
applyChange(ctx, ctx.getUserDoc(), newContent, logging);
|
|
|
|
applyChange(ctx, ctx.getUserDoc(), newContent, logging);
|
|
|
|
if (ctx.getUserDoc() !== newContent) {
|
|
|
|
if (ctx.getUserDoc() !== newContent) {
|
|
|
|
console.log("Expected that: `ctx.getUserDoc() === newContent`!");
|
|
|
|
console.log("Expected that: `ctx.getUserDoc() === newContent`!");
|
|
|
|