From 99aa2247b6e5a67238069a521270a9d899466dc7 Mon Sep 17 00:00:00 2001 From: Greg Cobb Date: Tue, 19 Jul 2016 23:00:25 -0700 Subject: [PATCH] Build distribution --- lib/jasmine-core/jasmine.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index d299993f..0794b7c3 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -518,7 +518,6 @@ getJasmineRequireObj().Env = function(j$) { var realClearTimeout = j$.getGlobal().clearTimeout; this.clock = new j$.Clock(global, function () { return new j$.DelayedFunctionScheduler(); }, new j$.MockDate(global)); - var runnableLookupTable = {}; var runnableResources = {}; var currentSpec = null; @@ -713,7 +712,6 @@ getJasmineRequireObj().Env = function(j$) { expectationFactory: expectationFactory, expectationResultFactory: expectationResultFactory }); - runnableLookupTable[topSuite.id] = topSuite; defaultResourcesForRunnable(topSuite.id); currentDeclarationSuite = topSuite; @@ -811,7 +809,6 @@ getJasmineRequireObj().Env = function(j$) { throwOnExpectationFailure: throwOnExpectationFailure }); - runnableLookupTable[suite.id] = suite; return suite; }; @@ -913,8 +910,6 @@ getJasmineRequireObj().Env = function(j$) { throwOnExpectationFailure: throwOnExpectationFailure }); - runnableLookupTable[spec.id] = spec; - if (!self.specFilter(spec)) { spec.disable(); } @@ -2983,7 +2978,7 @@ getJasmineRequireObj().matchersUtil = function(j$) { var extraKeys = []; for (var i in allKeys) { if (!allKeys[i].match(/^[0-9]+$/)) { - extraKeys.push(key); + extraKeys.push(allKeys[i]); } }