Less verbose for the linter

This commit is contained in:
Gregg Van Hove
2015-10-26 17:51:42 -07:00
parent ea4c44904d
commit 8e317d4026
2 changed files with 8 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ getJasmineRequireObj().SpyRegistry = function(j$) {
throw new Error(methodName + ' has already been spied upon');
}
var descriptor = undefined;
var descriptor;
try {
descriptor = Object.getOwnPropertyDescriptor(obj, methodName);
} catch(e) {