What would it take to make this library work with json1?
Initial exploration reveals these places might need to be changed:
|
StringBinding.prototype._onOp = function(op, source) { |
|
StringBinding.prototype._parseInsertOp = function(component) { |
|
StringBinding.prototype._parseRemoveOp = function(component) { |
|
StringBinding.prototype._parseParentOp = function() { |
|
StringBinding.prototype._remove = function(index, text) { |
|
this.doc.submitOp({p: ['name'], oi: 'Fido'}); |
|
this.doc.submitOp({p: ['name'], oi: 'Fido'}); |
|
this.doc.submitOp({p: ['name'], oi: 'Spot'}); |
What would it take to make this library work with json1?
Initial exploration reveals these places might need to be changed:
sharedb-string-binding/index.js
Line 50 in 0837ba0
sharedb-string-binding/index.js
Line 65 in 0837ba0
sharedb-string-binding/index.js
Line 72 in 0837ba0
sharedb-string-binding/index.js
Line 79 in 0837ba0
sharedb-string-binding/index.js
Line 98 in 0837ba0
sharedb-string-binding/test/index.js
Line 38 in 0837ba0
sharedb-string-binding/test/index.js
Line 51 in 0837ba0
sharedb-string-binding/test/index.js
Line 59 in 0837ba0