Fix minor style errors
And keep it that way, by making jscs config more opinionated. // FREEBIE
This commit is contained in:
parent
b09cb228f7
commit
173e037fa6
17 changed files with 97 additions and 38 deletions
|
@ -1,7 +1,7 @@
|
|||
describe('ListView', function() {
|
||||
var collection;
|
||||
|
||||
beforeEach(function(){
|
||||
beforeEach(function() {
|
||||
collection = new Backbone.Collection();
|
||||
});
|
||||
|
||||
|
|
|
@ -25,7 +25,9 @@ describe('TimestampView', function() {
|
|||
|
||||
// Helper to check an absolute TS for an exact match against both views
|
||||
var checkAbs = function(ts, expected_brief, expected_ext) {
|
||||
if (!expected_ext) expected_ext = expected_brief;
|
||||
if (!expected_ext) {
|
||||
expected_ext = expected_brief;
|
||||
}
|
||||
check(brief_view, ts, expected_brief);
|
||||
check(ext_view, ts, expected_ext);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue