summaryrefslogtreecommitdiff
path: root/www/js/imachine.js
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-04-06 19:32:58 -0400
committerAlex Xu <alex_y_xu@yahoo.ca>2014-04-06 19:32:58 -0400
commit6a50d79523cf215001cdd55c74c040bd410775df (patch)
treec7926f1c46b5b68f43e675beddad14d85851210f /www/js/imachine.js
parentcc4e6587df70f79de8fb23fceefce89d91e2a4bb (diff)
downloadhtml5ks-6a50d79523cf215001cdd55c74c040bd410775df.tar.xz
html5ks-6a50d79523cf215001cdd55c74c040bd410775df.zip
stuff
Diffstat (limited to 'www/js/imachine.js')
-rw-r--r--www/js/imachine.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/imachine.js b/www/js/imachine.js
index 694aea5..37ce701 100644
--- a/www/js/imachine.js
+++ b/www/js/imachine.js
@@ -21,8 +21,9 @@ html5ks.imachine = {
case "act_op":
case "iscene":
html5ks.api[inst.label].call(html5ks.api, inst['arguments'][0][0][1]).then(runInst, deferred.reject);
+ break;
default:
- throw new Error('unknown Call label');
+ throw new Error('unknown Call label: ' + inst.label);
}
break;
case 'UserStatement':