Skip to content

Commit

Permalink
eliminate some console logging
Browse files Browse the repository at this point in the history
  • Loading branch information
danielePala committed Feb 12, 2021
1 parent beab5cc commit 0750d0d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion js/cimDraw.riot
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,6 @@
document.getElementById("cgmes-save").addEventListener("click", function(e) {
const out = self.state.cimModel.saveAsCGMES();
out.then(function(content) {
console.log(content);
const objectURL = URL.createObjectURL(content);
document.getElementById("cgmes-download").setAttribute("href", objectURL);
document.getElementById("cgmes-download").click();
Expand Down
1 change: 0 additions & 1 deletion js/topology.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ function topologyProcessor(model) {
let trafoEnds = model.getTargets(terms, "Terminal.TransformerEnd");
baseVs = model.getTargets(trafoEnds, "TransformerEnd.BaseVoltage");
if (baseVs.length > 0) {
console.log(trafoEnds);
model.setLink(tobj, "cim:TopologicalNode.BaseVoltage", baseVs[0]);
} else {
// third option: containment in voltage level
Expand Down

0 comments on commit 0750d0d

Please sign in to comment.