mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
remove non-functional code
This commit is contained in:
@@ -119,12 +119,6 @@ ConstraintSolver.Resolver.prototype.resolve =
|
||||
var solution = null;
|
||||
while (! pq.empty()) {
|
||||
var currentState = pq.pop();
|
||||
var tentativeCost =
|
||||
costFunction(currentState.choices, opts) +
|
||||
estimateCostFunction(currentState, opts);
|
||||
|
||||
if (tentativeCost === Infinity)
|
||||
break;
|
||||
|
||||
if (currentState.dependencies.isEmpty()) {
|
||||
solution = currentState.choices;
|
||||
|
||||
Reference in New Issue
Block a user