Skip to content

Commit

Permalink
Wrong order of arguments...
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdelisle committed Oct 24, 2017
1 parent e14b9d0 commit 3b51e7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json-ot.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3b51e7f

Please sign in to comment.