mephux/komanda — pull request #45 by lord2800 (2014-06-17 17:54:26+00:00)
Title: Fix JSHint warnings

While trying to build this morning, I ran into the following JSHint warnings (which failed the build--one of which probably signified an actual problem: reusing the `server` variable):

Running "jshint:all" (jshint) task
Linting app/client.js ...ERROR
[L290:C93] W033: Missing semicolon.
Komanda.vent.trigger(self.options.uuid + ":" + channel + ":topic", (topic || "N/A"))
[L765:C37] W038: 'server' used out of scope.
var chans = Komanda.store[server].count
[L765:C50] W033: Missing semicolon.
var chans = Komanda.store[server].count
[L766:C16] W088: Creating global 'for' variable. Should be 'for (var chan ...'.
for (chan in chans) {