Added complete support for Set also for IE11.
Fixes 1355
This commit is contained in:
@@ -95,6 +95,10 @@ getJasmineRequireObj().base = function(j$, jasmineGlobal) {
|
||||
|
||||
j$.isMap = function(obj) {
|
||||
return typeof jasmineGlobal.Map !== 'undefined' && obj.constructor === jasmineGlobal.Map;
|
||||
};
|
||||
|
||||
j$.isSet = function(obj) {
|
||||
return typeof jasmineGlobal.Set !== 'undefined' && obj.constructor === jasmineGlobal.Set;
|
||||
};
|
||||
|
||||
j$.isPromise = function(obj) {
|
||||
|
||||
Reference in New Issue
Block a user