js-adapters/rhoconnect_helpers.js in rhoconnect-4.0.0 vs js-adapters/rhoconnect_helpers.js in rhoconnect-4.0.1
- old
+ new
@@ -41,9 +41,13 @@
};
this.getData = function(resp,callback){
var json = this.formatJson('get_data',resp.params,callback);
resp.send(json);
};
+ this.deleteData = function(resp,callback){
+ var json = this.formatJson('delete_data',resp.params,callback);
+ resp.send(json);
+ };
this.formatJson = function(method,args,callback){
var json = {};
json['kls'] = 'Store';
json['function'] = method;
\ No newline at end of file