From 3b51e7ff68b61e4efbc6269d0fbc4c07c1ec2f4b Mon Sep 17 00:00:00 2001 From: Caleb James DeLisle Date: Tue, 24 Oct 2017 17:59:25 +0300 Subject: [PATCH] Wrong order of arguments... --- json-ot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json-ot.js b/json-ot.js index 1d6080a..92bfa46 100644 --- a/json-ot.js +++ b/json-ot.js @@ -229,7 +229,7 @@ var main = function (OT, TextPatcher, Sortify) { } }; - var patchTransformer = JsonOT.patchTransformer = function (s_orig, s_toTransform, s_transformBy) { + var patchTransformer = JsonOT.patchTransformer = function (s_toTransform, s_transformBy, s_orig) { var orig = JSON.parse(s_orig); var ttf = JSON.parse(s_toTransform); var tfb = JSON.parse(s_transformBy);