Tuning to prevent stack overflows in FF
This commit is contained in:
+1
-3
@@ -11,9 +11,7 @@ jasmine.Env = function() {
|
||||
|
||||
this.reporter = new jasmine.MultiReporter();
|
||||
|
||||
this.updateInterval = 0;
|
||||
|
||||
this.updateInterval = 0;
|
||||
this.updateInterval = jasmine.UPDATE_INTERVAL
|
||||
this.lastUpdate = 0;
|
||||
this.specFilter = function() {
|
||||
return true;
|
||||
|
||||
@@ -12,6 +12,12 @@ jasmine.unimplementedMethod_ = function() {
|
||||
throw new Error("unimplemented method");
|
||||
};
|
||||
|
||||
/**
|
||||
* Large or small values here may result in slow test running & "Too much recursion" errors
|
||||
*
|
||||
*/
|
||||
jasmine.UPDATE_INTERVAL = 250;
|
||||
|
||||
/**
|
||||
* Allows for bound functions to be comapred. Internal use only.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user