add method and function to JSON

This commit is contained in:
Cora Johnson-Roberson 2015-11-18 11:27:33 -08:00
parent 0b0abf6801
commit c2c4d92ce7

View File

@ -389,6 +389,8 @@ ClusteringDialog.prototype._export = function() {
'projectName': projectName, 'projectName': projectName,
'columnName': columnName, 'columnName': columnName,
'timeStamp': timeStamp, 'timeStamp': timeStamp,
'clusterMethod': this._method,
'keyingFunction': this._function,
'clusters': clusters, 'clusters': clusters,
}; };
var data = "text/json;charset=utf-8," + encodeURIComponent(JSON.stringify(obj)); var data = "text/json;charset=utf-8," + encodeURIComponent(JSON.stringify(obj));