Skip to content
Snippets Groups Projects
Commit ddd460b0 authored by Christopher Pietsch's avatar Christopher Pietsch
Browse files

cleanups

parent b125be1a
No related branches found
No related tags found
No related merge requests found
...@@ -159,14 +159,7 @@ This visualization is not optimized for mobiles. Please come back on a Computer. ...@@ -159,14 +159,7 @@ This visualization is not optimized for mobiles. Please come back on a Computer.
</div> </div>
</div> </div>
<!-- <div class="navi">
<div class="time button active">time</div>
<div class="tsne button">tsne</div>
<div class="grid button">grid</div>
</div>
-->
<div class="infobar sneaks"> <div class="infobar sneaks">
<div class="infobutton"> <div class="infobutton">
<svg width="16px" height="24px" viewBox="0 0 16 24"> <svg width="16px" height="24px" viewBox="0 0 16 24">
<path d="M13.6824546,2 L3.7109392,11.9715154 L13.7394238,22" stroke="#FFF" stroke-width="5"></path> <path d="M13.6824546,2 L3.7109392,11.9715154 L13.7394238,22" stroke="#FFF" stroke-width="5"></path>
...@@ -189,9 +182,6 @@ This visualization is not optimized for mobiles. Please come back on a Computer. ...@@ -189,9 +182,6 @@ This visualization is not optimized for mobiles. Please come back on a Computer.
</div> </div>
</div> </div>
<script type="text/javascript">
var lang = "";
</script>
<script src="js/sidebars.js"></script> <script src="js/sidebars.js"></script>
<script src="js/viz.js"></script> <script src="js/viz.js"></script>
......
This diff is collapsed.
...@@ -94,14 +94,13 @@ utils.fullscreen = function(){ ...@@ -94,14 +94,13 @@ utils.fullscreen = function(){
} }
} }
utils.clean = function(data,texte) { utils.clean = function(data) {
data.forEach(function(d,i){ data.forEach(function(d,i){
d.search = Object.keys(d).map(function(e) { return d[e] }).join(' - ').toUpperCase() d.search = Object.keys(d).map(function(e) { return d[e] }).join(' - ').toUpperCase()
d.i = i; d.i = i;
d.id = d.imageid; d.id = d.imageid;
d.alpha = 1; d.alpha = 1;
d.jahr = d.year;
d.active = 1; d.active = 1;
d.loaded = false; d.loaded = false;
d.type = "image"; d.type = "image";
...@@ -127,10 +126,6 @@ utils.clean = function(data,texte) { ...@@ -127,10 +126,6 @@ utils.clean = function(data,texte) {
d.x = i; d.x = i;
d.y = i; d.y = i;
// d.tsne = d.tsne.split(" ").map(function(d){ return +d; });
// d.grid = d.grid.split(" ").map(function(d){ return +d; });
// d.rTSNE = -1* Math.atan2(d.tsne[0], d.tsne[1]);
d.order = i; d.order = i;
}); });
......
...@@ -81,7 +81,7 @@ function init() { ...@@ -81,7 +81,7 @@ function init() {
window.data = data; window.data = data;
window.config = config window.config = config
utils.clean(data, [], []); utils.clean(data);
cloud.init(data); cloud.init(data);
search.init(); search.init();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment