Format all source code using Prettier

This commit is contained in:
Daniel Gasienica 2018-04-27 17:25:04 -04:00
parent b4dee3f30b
commit 1dd87ad197
149 changed files with 17847 additions and 15439 deletions

View file

@ -6,7 +6,7 @@ describe('ListView', function() {
});
it('should add children to the list element as they are added to the collection', function() {
var view = new Whisper.ListView({collection: collection});
var view = new Whisper.ListView({ collection: collection });
collection.add('hello');
assert.equal(view.$el.children().length, 1);
collection.add('world');
@ -14,9 +14,8 @@ describe('ListView', function() {
});
it('should add all the children to the list element on reset', function() {
var view = new Whisper.ListView({collection: collection});
var view = new Whisper.ListView({ collection: collection });
collection.reset(['goodbye', 'world']);
assert.equal(view.$el.children().length, 2);
});
});