mtx: call TX.getJSON in MTX.toJSON. see #120.

This commit is contained in:
Christopher Jeffrey 2017-01-22 14:41:11 -08:00
parent 6cca0aac1c
commit 33fbdff127
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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);
};
/**