ach(goog.dependencies_.nameToPath, function(path, ns) {
    var deps = goog.object.clone(goog.dependencies_.requires[path]);
    goog.array.forEach(newVisited, function(value) {
      goog.object.remove(deps, value);
    });

    if (goog.object.getCount(deps) == 0 && !goog.object.contains(visited, ns)) {
      change = true;
      levels[i].push(ns);
      visited.push(ns);
    }
  });
  i++;
}

var errors = [];
goog.object.forEach(goog.dependencies_.nameToPath, function(path, ns) {
  if (!goog.array.conta