From d79e2aab08d3ece8aeec32f08ec0d7263fed0043 Mon Sep 17 00:00:00 2001 From: william Date: Sat, 30 Jan 2016 23:45:47 -0500 Subject: [PATCH] generic --- lxc.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lxc.js b/lxc.js index 36d3cb0..7463214 100644 --- a/lxc.js +++ b/lxc.js @@ -99,11 +99,7 @@ var lxc = { info.push(mapOut); } - var args = [].slice.call(arguments); - console.log('args~103', args) - args[0] = info; - console.log('args~105', args) - callback.apply(this, args); + callback.apply(this, [info].slice.call(arguments).splice(1,1)); }); } };