summaryrefslogtreecommitdiff
path: root/public/javascripts
diff options
context:
space:
mode:
Diffstat (limited to 'public/javascripts')
-rw-r--r--public/javascripts/stargit.js18
1 files changed, 11 insertions, 7 deletions
diff --git a/public/javascripts/stargit.js b/public/javascripts/stargit.js
index e31a98d..9ed7a2f 100644
--- a/public/javascripts/stargit.js
+++ b/public/javascripts/stargit.js
@@ -192,8 +192,6 @@ var stargit=(function(){
}
if(graphAttributes){
- console.debug(colorAtts[0]);
- console.debug(graphAttributes[colorAtts[0]]);
setLegend(colorAtts[0]["label"],colorAtts[0]);
}
}
@@ -206,13 +204,11 @@ var stargit=(function(){
setSize: function(e){
if(!setFlash()) return;
- console.debug(e.target.value);
flash.setSize(e.target.value);
},
setColor: function(e){
if(!setFlash()) return;
- console.debug(e.target.value);
setLegend(e.target.value,graphAttributes[e.target.value]);
@@ -268,9 +264,17 @@ var stargit=(function(){
},
onOverNodes: function(nodesArray){
- for(var i=0;i<nodesArray.length;i++){
- console.debug("node: "+nodesArray[i]);
- }
+// var url = "/";
+//
+// $.ajax({
+// url: url,
+// dataType: 'json',
+// success:
+// function(json){
+// graphAttributes = (json && json["attributes"]) ? json["attributes"] : {};
+// setComboBoxes();
+// }
+// });
}
};
})(); \ No newline at end of file