summaryrefslogtreecommitdiff
path: root/www/js/api.js
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-10-20 07:23:12 -0400
committerAlex Xu <alex_y_xu@yahoo.ca>2014-10-20 07:23:12 -0400
commite4334416bc7f222a0bf1ca817892a43220da6fca (patch)
tree89bad097c087b6f59846370b3f2439825ae05d53 /www/js/api.js
parent254289e4d03046dbc0c9efb31cbf4d97639b44e9 (diff)
downloadhtml5ks-master.tar.xz
html5ks-master.zip
fix misc stuffHEADmaster
Diffstat (limited to 'www/js/api.js')
-rw-r--r--www/js/api.js5
1 files changed, 1 insertions, 4 deletions
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;
}