Removed support for Internet Explorer
This commit is contained in:
@@ -87,11 +87,7 @@ getJasmineRequireObj().MockDate = function() {
|
||||
FakeDate.prototype = GlobalDate.prototype;
|
||||
|
||||
FakeDate.now = function() {
|
||||
if (GlobalDate.now) {
|
||||
return currentTime;
|
||||
} else {
|
||||
throw new Error('Browser does not support Date.now()');
|
||||
}
|
||||
return currentTime;
|
||||
};
|
||||
|
||||
FakeDate.toSource = GlobalDate.toSource;
|
||||
|
||||
Reference in New Issue
Block a user