From 8ccc464b0de39e7fc73b3c3e50f80f6c2452c8fe Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Tue, 14 Jan 2014 09:53:31 -0500 Subject: More stuff. --- www/js/api.js | 3 +-- www/js/html5ks.js | 4 ---- www/js/imachine.js | 1 + 3 files changed, 2 insertions(+), 6 deletions(-) (limited to 'www') 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": -- cgit v1.2.3-70-g09d2