Bump version to 3.4

This commit is contained in:
Gregg Van Hove
2019-04-03 17:03:07 -07:00
parent 74fd0e08e7
commit e636f5f822
4 changed files with 61 additions and 6 deletions

View File

@@ -233,9 +233,15 @@ getJasmineRequireObj().base = function(j$, jasmineGlobal) {
if (value instanceof Error) {
return true;
}
if (value && value.constructor && value.constructor.constructor &&
(value instanceof (value.constructor.constructor('return this')()).Error)) {
return true;
if (value && value.constructor && value.constructor.constructor) {
var valueGlobal = value.constructor.constructor('return this');
if (j$.isFunction_(valueGlobal)) {
valueGlobal = valueGlobal();
}
if (valueGlobal.Error && value instanceof valueGlobal.Error) {
return true;
}
}
return false;
};
@@ -7023,5 +7029,5 @@ getJasmineRequireObj().UserContext = function(j$) {
};
getJasmineRequireObj().version = function() {
return '3.3.0';
return '3.4.0';
};

View File

@@ -4,6 +4,6 @@
#
module Jasmine
module Core
VERSION = "3.3.0"
VERSION = "3.4.0"
end
end