Browse Source

disabled temporary api wrapper

pull/1/head
Sami Vaarala 11 years ago
parent
commit
bbd96a315c
  1. 8
      src/duk_initjs.js

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

Loading…
Cancel
Save