add prettier and eslint

This commit is contained in:
Gregg Van Hove
2019-05-21 17:44:38 -07:00
parent cf2c5c9acc
commit b4cbe9850f
90 changed files with 6345 additions and 3647 deletions

View File

@@ -8,7 +8,9 @@ describe('Spy Registry browser-specific behavior', function() {
var spies = [],
spyRegistry = new jasmineUnderTest.SpyRegistry({
currentSpies: function() { return spies; },
currentSpies: function() {
return spies;
},
createSpy: createSpy,
global: window
}),
@@ -28,7 +30,7 @@ describe('Spy Registry browser-specific behavior', function() {
try {
descriptor = Object.getOwnPropertyDescriptor(window, 'onerror');
} catch(e) {
} catch (e) {
// IE 8 doesn't support `definePropery` on non-DOM nodes
}