Browse Source

misc jsonx -> jx renames

pull/20/head
Sami Vaarala 11 years ago
parent
commit
e4aa635d72
  1. 4
      util/underscore-test-shim.js
  2. 2
      xmldoc-testcases/basic.js

4
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) {

2
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);
});

Loading…
Cancel
Save