summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/js/api.js6
-rw-r--r--www/js/html5ks.js2
2 files changed, 4 insertions, 4 deletions
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;