From e4334416bc7f222a0bf1ca817892a43220da6fca Mon Sep 17 00:00:00 2001 From: Alex Xu <alex_y_xu@yahoo.ca> Date: Mon, 20 Oct 2014 07:23:12 -0400 Subject: fix misc stuff --- www/js/api.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'www/js/api.js') diff --git a/www/js/api.js b/www/js/api.js index e88ac91..0d64cc5 100644 --- a/www/js/api.js +++ b/www/js/api.js @@ -208,8 +208,7 @@ window.html5ks.api = { console.debug(key, args); if (obj[key]) return obj[key].apply(obj, args); else { - console.error("no such function " + n); - debugger; + console.error("no such function " + key); return when.resolve(); } }, @@ -412,8 +411,6 @@ window.html5ks.api = { chr = { name: who }; } - this._lastchar = chr; - if (!extend && chr.what_prefix) { what = chr.what_prefix + what; } -- cgit v1.2.3-70-g09d2