From 33fbdff12711fa73228f293b78b39187ca37d315 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 22 Jan 2017 14:41:11 -0800 Subject: [PATCH] mtx: call TX.getJSON in MTX.toJSON. see #120. --- lib/primitives/mtx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/primitives/mtx.js b/lib/primitives/mtx.js index b7459002..22510bba 100644 --- a/lib/primitives/mtx.js +++ b/lib/primitives/mtx.js @@ -1349,7 +1349,7 @@ MTX.prototype.format = function format() { */ MTX.prototype.toJSON = function toJSON() { - return TX.prototype.toJSON.call(this, null, this.view); + return TX.prototype.getJSON.call(this, null, this.view); }; /**