From afed64f1a0eab0b2d742088186d7bc340a2c895b Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Tue, 26 Jun 2018 12:08:19 +0530 Subject: return block type in define and set --- js/Sinks/CSCOPXY.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/Sinks/CSCOPXY.js') diff --git a/js/Sinks/CSCOPXY.js b/js/Sinks/CSCOPXY.js index f06a4980..769fe395 100644 --- a/js/Sinks/CSCOPXY.js +++ b/js/Sinks/CSCOPXY.js @@ -25,6 +25,7 @@ function CSCOPXY() { exprs = [[string(nbr_curves)],[sci2exp(clrs)],[sci2exp(siz)],[string(win)],[sci2exp([])],[sci2exp(wdim)],[string(xmin)],[string(xmax)],[string(ymin)],[string(ymax)],[string(N)]]; gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } CSCOPXY.prototype.details = function CSCOPXY() { return this.x; @@ -96,5 +97,6 @@ function CSCOPXY() { break; } } + return new BasicBlock(this.x); } } -- cgit