Enable JSHINT's unused option. It caught a bunch of suspicious stuff which is fixed in this commit.

This commit is contained in:
Robin Ward
2013-12-30 13:29:52 -05:00
parent 8685e4079f
commit a502266c42
59 changed files with 69 additions and 102 deletions

View File

@ -1,7 +1,7 @@
module("Discourse.Composer");
test('replyLength', function() {
var replyLength = function(val, expectedLength, text) {
var replyLength = function(val, expectedLength) {
var composer = Discourse.Composer.create({ reply: val });
equal(composer.get('replyLength'), expectedLength);
};