Skip to content

Commit

Permalink
Choropleth
Browse files Browse the repository at this point in the history
  • Loading branch information
salivian committed Sep 13, 2018
1 parent ff256ae commit 4ae91ca
Show file tree
Hide file tree
Showing 3 changed files with 341 additions and 76 deletions.
14 changes: 2 additions & 12 deletions web/src/Nanocube/Nanocube4.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/*global fetch*/

import jquery from 'jquery';
let $ = window.$ = jquery;

Expand Down Expand Up @@ -547,18 +549,6 @@ Query.prototype = {
}).catch(error=>console.log('Failed: ', query_string));


/*
$.ajax({url: query_string,
context: ctx}).done(function(res){
if(Object.keys(cache).length > 10){
var idx = Math.floor(Math.random() * (10+1)) ;
var k = Object.keys(cache)[idx];
delete cache[k];
}
cache[query_string] = $.extend(true, {}, res);
dfd.resolveWith(ctx, [res]);
});*/

return dfd.promise();
}
},
Expand Down
Loading

0 comments on commit 4ae91ca

Please sign in to comment.