Add jasmine.Reporter no-op base class for reporters.

This commit is contained in:
Christian Williams
2009-07-08 18:18:17 -07:00
parent 0c24c2df2e
commit e1408a9f58
8 changed files with 79 additions and 7 deletions
+3 -2
View File
@@ -1,6 +1,7 @@
/**
* Environment for Jasmine
* @
*
* @constructor
*/
jasmine.Env = function() {
this.currentSpec = null;
@@ -28,7 +29,7 @@ jasmine.Env.prototype.clearInterval = jasmine.clearInterval;
/**
* Register a reporter to receive status updates from Jasmine.
* @param {Object} reporter An object which will receive status updates.
* @param {jasmine.Reporter} reporter An object which will receive status updates.
*/
jasmine.Env.prototype.addReporter = function(reporter) {
this.reporter.addReporter(reporter);