diff --git a/public/isitmycakeday.html b/public/isitmycakeday.html index a4a3c1a..e25be60 100644 --- a/public/isitmycakeday.html +++ b/public/isitmycakeday.html @@ -48,7 +48,6 @@ h1, h3, p, footer { text-align: center } $answer.innerText = isCakeDay ? 'happy ' + n + ord + ' cake day!' : 'nope'; } catch (e) { $answer.innerText = 'maybe'; - console.log(e); } }; }()); diff --git a/public/js/gitter.js b/public/js/gitter.js index 234ce17..95d357e 100644 --- a/public/js/gitter.js +++ b/public/js/gitter.js @@ -223,11 +223,7 @@ else { var self = this fetch(this.path, function(err, data) { - // console.log('FETCH', self.path, err, data) - if (err) { - // console.log(err) - } - else { + if (!err) { self.data = data mixin(self, data) } @@ -246,11 +242,7 @@ else { var self = this fetch(this.path + '/' + thing, function(err, data) { - // console.log('FETCH SUBRESOURCE', self.path, thing, err, data) - if (err) { - // console.log(self.path, err) - } - else { + if (!err) { self['_' + thing] = data } if (typeof cb === 'function') { diff --git a/public/js/projects.js b/public/js/projects.js index c0db839..9fa866b 100644 --- a/public/js/projects.js +++ b/public/js/projects.js @@ -101,7 +101,6 @@ } }) } else { - console.log('hit ' + t + ' (' + (+new Date() - t) + ')') try { updateBranches(SJS.projectName, data.get('branches')) updateLangs(data.get('langs')) diff --git a/public/js/store.js b/public/js/store.js index ec7d8b0..6a03cf2 100644 --- a/public/js/store.js +++ b/public/js/store.js @@ -20,9 +20,7 @@ var val = localStorage[makeKey(key)] try { while (typeof val === 'string') val = JSON.parse(val) - } catch (e) { - //console.log('string?') - } + } catch (e) {} return val }, set: function(key, val) { diff --git a/templates/samhuri.net.html b/templates/samhuri.net.html index 9066de4..0ef6868 100644 --- a/templates/samhuri.net.html +++ b/templates/samhuri.net.html @@ -31,9 +31,6 @@