minor formatting
This commit is contained in:
parent
d00919a26c
commit
2eebfbf2f7
@ -391,12 +391,12 @@ ClusteringDialog.prototype._export = function() {
|
||||
'timeStamp': timeStamp,
|
||||
'clusterMethod': this._method,
|
||||
'keyingFunction': this._function,
|
||||
'clusters': clusters,
|
||||
'clusters': clusters
|
||||
};
|
||||
var data = "text/json;charset=utf-8," + encodeURIComponent(JSON.stringify(obj));
|
||||
var link=document.createElement('a');
|
||||
link.href='data:' + data;
|
||||
link.download="clusters_" + projectName + "_" + columnName + "_" + timeStamp + ".json";
|
||||
var link = document.createElement('a');
|
||||
link.href = 'data:' + data;
|
||||
link.download = "clusters_" + projectName + "_" + columnName + "_" + timeStamp + ".json";
|
||||
link.click();
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user