From e4aa635d72ab28a3af6e2d8d8a796a2b1c353a4c Mon Sep 17 00:00:00 2001 From: Sami Vaarala Date: Wed, 14 May 2014 17:43:19 +0300 Subject: [PATCH] misc jsonx -> jx renames --- util/underscore-test-shim.js | 4 ++-- xmldoc-testcases/basic.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/util/underscore-test-shim.js b/util/underscore-test-shim.js index 47b4cd0a..1decd611 100644 --- a/util/underscore-test-shim.js +++ b/util/underscore-test-shim.js @@ -97,13 +97,13 @@ var notStrictEqual = function(x, y, msg) { var deepEqual = function(x, y, msg) { // FIXME: incorrect as key ordering matters, but close enough maybe? assert_count++; - handleResult(Duktape.enc('jsonx', x) === Duktape.enc('jsonx', y), msg); + handleResult(Duktape.enc('jx', x) === Duktape.enc('jx', y), msg); }; var notDeepEqual = function(x, y, msg) { // FIXME: incorrect as key ordering matters, but close enough maybe? assert_count++; - handleResult(Duktape.enc('jsonx', x) !== Duktape.enc('jsonx', y), msg); + handleResult(Duktape.enc('jx', x) !== Duktape.enc('jx', y), msg); }; var raises = function(fn, expect_err, msg) { diff --git a/xmldoc-testcases/basic.js b/xmldoc-testcases/basic.js index 2a2e894e..af0fc06b 100644 --- a/xmldoc-testcases/basic.js +++ b/xmldoc-testcases/basic.js @@ -23,6 +23,6 @@ print(doc) print('=== loop over "foo" children') doc.eachChild(function (x) { - print(Duktape.enc('jsonx', x)); + print(Duktape.enc('jx', x)); print(x); });