From a1a948b8df712bd54a8c12f9e038f1dd91f82c1f Mon Sep 17 00:00:00 2001 From: Sheel Choksi Date: Thu, 24 Oct 2013 16:34:34 -0700 Subject: [PATCH] Remove completeCallback from suite as its unused --- src/core/Env.js | 1 - src/core/Suite.js | 1 - 2 files changed, 2 deletions(-) diff --git a/src/core/Env.js b/src/core/Env.js index c5ec52c5..c96da848 100644 --- a/src/core/Env.js +++ b/src/core/Env.js @@ -145,7 +145,6 @@ getJasmineRequireObj().Env = function(j$) { id: getNextSuiteId(), description: 'Jasmine__TopLevel__Suite', queueRunner: queueRunnerFactory, - completeCallback: function() {}, // TODO - hook this up resultCallback: function() {} // TODO - hook this up }); runnableLookupTable[topSuite.id] = topSuite; diff --git a/src/core/Suite.js b/src/core/Suite.js index c586551d..2805590a 100644 --- a/src/core/Suite.js +++ b/src/core/Suite.js @@ -5,7 +5,6 @@ getJasmineRequireObj().Suite = function() { this.parentSuite = attrs.parentSuite; this.description = attrs.description; this.onStart = attrs.onStart || function() {}; - this.completeCallback = attrs.completeCallback || function() {}; // TODO: this is unused this.resultCallback = attrs.resultCallback || function() {}; this.clearStack = attrs.clearStack || function(fn) {fn();};