Robin sucks at jshint

This commit is contained in:
Robin Ward 2013-03-27 12:15:27 -04:00
parent 4711cb4716
commit b9fee3bf00

View file

@ -14,7 +14,7 @@ Discourse.HotnessView = Discourse.View.extend({
// Our scale goes to 11! // Our scale goes to 11!
for (var i=1; i<12; i++) { for (var i=1; i<12; i++) {
buffer.push("<button value='" + i + "'"); buffer.push("<button value='" + i + "'");
if (this.get('hotness') == i) { if (this.get('hotness') === i) {
buffer.push(" class='selected'"); buffer.push(" class='selected'");
} }
buffer.push(">" + i + "</button>"); buffer.push(">" + i + "</button>");