From bbd96a315ce90f948a35833640d60ebc76a0e254 Mon Sep 17 00:00:00 2001 From: Sami Vaarala Date: Sat, 25 Jan 2014 00:25:05 +0200 Subject: [PATCH] disabled temporary api wrapper --- src/duk_initjs.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/duk_initjs.js b/src/duk_initjs.js index 55b85354..65c0d104 100644 --- a/src/duk_initjs.js +++ b/src/duk_initjs.js @@ -33,6 +33,14 @@ def('refc', function(v) { return D.info(v)[2]; }); } + // JSONX/JSONC convenience + if (false) { + def('jxEnc', function(a,b,c) { return D.enc('jsonx', a, b, c); }); + def('jxDec', function(a,b) { return D.dec('jsonx', a, b); }); + def('jcEnc', function(a,b,c) { return D.enc('jsonc', a, b, c); }); + def('jcDec', function(a,b) { return D.dec('jsonc', a, b); }); + } + // info convenience if (false) { def('infox', function (v) {