Removed protections against user code redefining undefined
Jasmine hasn't even run on platforms that allowed redefining undefined since 2.x.
This commit is contained in:
@@ -73,9 +73,7 @@ getJasmineRequireObj().base = function(j$, jasmineGlobal) {
|
||||
};
|
||||
|
||||
j$.isObject_ = function(value) {
|
||||
return (
|
||||
!j$.util.isUndefined(value) && value !== null && j$.isA_('Object', value)
|
||||
);
|
||||
return value !== undefined && value !== null && j$.isA_('Object', value);
|
||||
};
|
||||
|
||||
j$.isString_ = function(value) {
|
||||
|
||||
Reference in New Issue
Block a user