summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js')
-rw-r--r--www/js/api.js3
-rw-r--r--www/js/html5ks.js4
-rw-r--r--www/js/imachine.js1
3 files changed, 2 insertions, 6 deletions
diff --git a/www/js/api.js b/www/js/api.js
index 8afa4a6..833b120 100644
--- a/www/js/api.js
+++ b/www/js/api.js
@@ -24,7 +24,7 @@ window.html5ks.api = new (function () {
switch (audio.volume) {
case 0:
audio.pause();
- // break;
+ /* falls through */
case 1:
clearInterval(this._fading);
}
@@ -389,7 +389,6 @@ window.html5ks.api = new (function () {
},
say: function (chrName, str, extend) {
- if (extend) debugger;
var deferred = when.defer(),
chr = typeof chrName === "string" ? html5ks.data.characters[chrName] : chrName,
w = /{w=?(\d*\.\d*)?}(.*)/.exec(str);
diff --git a/www/js/html5ks.js b/www/js/html5ks.js
index 8c2c679..e1c0bd7 100644
--- a/www/js/html5ks.js
+++ b/www/js/html5ks.js
@@ -1,8 +1,4 @@
"use strict";
-console = console || {
- log: function () {},
- error: alert
-};
window.html5ks = {
data: {},
persistent: {},
diff --git a/www/js/imachine.js b/www/js/imachine.js
index ba2894e..7a1f7de 100644
--- a/www/js/imachine.js
+++ b/www/js/imachine.js
@@ -36,6 +36,7 @@ html5ks.imachine = new (function () {
break;
case "iscene":
this.scene_register(inst[1]);
+ /* falls through */
case "act_op":
switch (inst[1]) {
case "op_vid1":