diff --git a/www/common/cursor.js b/www/common/cursor.js index 38163bcec..1e7ae9a36 100644 --- a/www/common/cursor.js +++ b/www/common/cursor.js @@ -228,8 +228,7 @@ define([ } }; - // TODO deprecate - var pushDelta = /* cursor.pushDelta =*/ function (oldVal, newVal, offset) { + var pushDelta = cursor.pushDelta = function (oldVal, newVal, offset) { if (oldVal === newVal) { return; } var commonStart = 0; while (oldVal.charAt(commonStart) === newVal.charAt(commonStart)) {