Skip to content

Commit

Permalink
remove some console log
Browse files Browse the repository at this point in the history
  • Loading branch information
bmatthieu3 committed Mar 22, 2024
1 parent 856fc84 commit 328923c
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 11 deletions.
1 change: 0 additions & 1 deletion src/js/FiniteStateMachine/CircleSelect.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ export class CircleSelect extends FSM {
// TODO: remove these modes in the future
view.aladin.showReticle(true)
view.setCursor('default');
console.log("end select", view)

view.setMode(View.PAN)
view.requestRedraw();
Expand Down
4 changes: 2 additions & 2 deletions src/js/HiPSProperties.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ HiPSProperties.getFasterMirrorUrl = function (metadata, currUrl) {
return r1.duration - r2.duration;
});

console.log(validResponses)
//console.log(validResponses)
let newUrlResp;

if (validResponses.length >= 2) {
Expand Down Expand Up @@ -229,7 +229,7 @@ HiPSProperties.getFasterMirrorUrl = function (metadata, currUrl) {
urlChosen = newUrlResp.baseUrl;
}

console.log('curr url', currUrlResp, ', new ', newUrlResp)
//console.log('curr url', currUrlResp, ', new ', newUrlResp)

urlChosen = Utils.fixURLForHTTPS(urlChosen)
return urlChosen;
Expand Down
1 change: 0 additions & 1 deletion src/js/View.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,6 @@ export let View = (function () {
var computedWidth = parseFloat(window.getComputedStyle(this.aladinDiv).width) || 1.0;
var computedHeight = parseFloat(window.getComputedStyle(this.aladinDiv).height) || 1.0;

console.log(this.height, computedHeight)
this.width = Math.max(computedWidth, 1);
this.height = Math.max(computedHeight, 1); // this prevents many problems when div size is equal to 0

Expand Down
1 change: 0 additions & 1 deletion src/js/gui/Widgets/Selector.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ export class SelectorButton extends DOMElement {
continue;
}
let optSelect = this.options[id];
console.log(optSelect)

menuOptions.push({
label: new ActionButton(optSelect),
Expand Down
5 changes: 0 additions & 5 deletions src/js/libs/samp.js
Original file line number Diff line number Diff line change
Expand Up @@ -992,8 +992,6 @@ export let samp = (function() {
}
};
ClientTracker.prototype.init = function(connection) {
console.log('init client tracker')

var tracker = this;
this.connection = connection;
var retrieveInfo = function(id, type, infoFuncName, infoArray) {
Expand All @@ -1003,8 +1001,6 @@ export let samp = (function() {
});
};
connection.getRegisteredClients([], function(idlist) {
console.log(idlist)

var i;
var id;
tracker.ids = {};
Expand Down Expand Up @@ -1087,7 +1083,6 @@ export let samp = (function() {
}
if (this.callableClient) {
if (this.callableClient.init) {
console.log("init")
this.callableClient.init(conn);
}
conn.setCallable(this.callableClient, function() {
Expand Down
1 change: 0 additions & 1 deletion src/js/vo/Datalink.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ export let Datalink = (function() {
switch (contentType) {
// A datalink response containing links to datasets or services attached to the current dataset
case 'application/x-votable+xml;content=datalink':
console.log("datalink recursive")
new Datalink().handleActions(url, obscoreRow, aladinInstance);
break;
case 'application/hips':
Expand Down

0 comments on commit 328923c

Please sign in to comment.