From 1596e91887b42816dae412c77e17d2979e2e4cd4 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Sun, 2 Mar 2014 18:14:56 -0500 Subject: bleh --- www/js/api.js | 6 +++--- www/js/html5ks.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'www/js') diff --git a/www/js/api.js b/www/js/api.js index 46e8f54..b74c1ae 100644 --- a/www/js/api.js +++ b/www/js/api.js @@ -69,7 +69,7 @@ window.html5ks.api = { _nextType(); }, - play: function (channel, name, ignore, fade) { + play: function (channel, name, _, fade) { this.stop(channel); var deferred = when.defer(), audio = html5ks.elements.audio[channel]; @@ -215,7 +215,7 @@ window.html5ks.api = { }, - window: function (action, transition) { + window: function (action) { var windw = html5ks.elements.window; switch (action) { case true: @@ -504,7 +504,7 @@ window.html5ks.api = { return deferred.promise; }, - nvl: function (action, transition) { + nvl: function (action) { var nvl = html5ks.elements.nvl; switch (action) { case true: diff --git a/www/js/html5ks.js b/www/js/html5ks.js index 73cb249..916426c 100644 --- a/www/js/html5ks.js +++ b/www/js/html5ks.js @@ -109,7 +109,7 @@ window.html5ks = { } }, 1000); this._spinners += mod; - assert(this._spinners >= 0); + window.assert(this._spinners >= 0); }, scale: function () { var newScale = 1; -- cgit v1.2.3-70-g09d2