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/CEVENTSCOPE.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/Sinks/CEVENTSCOPE.js') diff --git a/js/Sinks/CEVENTSCOPE.js b/js/Sinks/CEVENTSCOPE.js index 712c76aa..91f4758d 100644 --- a/js/Sinks/CEVENTSCOPE.js +++ b/js/Sinks/CEVENTSCOPE.js @@ -17,6 +17,7 @@ function CEVENTSCOPE() { exprs = [[sci2exp(nclock)],[strcat(sci2exp(clrs[nclock-1])," ")],[string(win)],[sci2exp([])],[sci2exp(wdim)],[string(per)]]; gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } CEVENTSCOPE.prototype.details = function CEVENTSCOPE() { return this.x; @@ -83,5 +84,6 @@ function CEVENTSCOPE() { break; } } + return new BasicBlock(this.x); } } -- cgit