From 51c8037305e59225329cb61dfa744ce0b44f0297 Mon Sep 17 00:00:00 2001 From: Sami Vaarala Date: Thu, 23 Jan 2014 00:01:17 +0200 Subject: [PATCH] add legacy setFinalizer/getFinalizer values for now --- src/duk_initjs_legacy.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/duk_initjs_legacy.js b/src/duk_initjs_legacy.js index 19d75192..4414adf3 100644 --- a/src/duk_initjs_legacy.js +++ b/src/duk_initjs_legacy.js @@ -15,5 +15,7 @@ configurable: true }); } - def('build', ''); // removed in Duktape 0.9.0 + def('build', ''); // removed in Duktape 0.9.0 + def('setFinalizer', D.setFin); // renamed in Duktape 0.9.0 + def('getFinalizer', D.getFin); // renamed in Duktape 0.9.0 })(Duktape);