mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 22:51:06 +08:00
Enable JSHINT's unused
option. It caught a bunch of suspicious stuff which is fixed in this commit.
This commit is contained in:
@ -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);
|
||||
};
|
||||
|
Reference in New Issue
Block a user