From 884d1b369dec2654d46c2dab31d2ae85b0be01ba Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Fri, 13 Jul 2018 23:47:42 +0530 Subject: support for new standard_define --- js/Sources/TIME_f.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/Sources/TIME_f.js') diff --git a/js/Sources/TIME_f.js b/js/Sources/TIME_f.js index 7cc4ac99..97bb2cdc 100644 --- a/js/Sources/TIME_f.js +++ b/js/Sources/TIME_f.js @@ -7,7 +7,7 @@ function TIME_f() { this.model.blocktype = new ScilabString(["c"]); this.model.dep_ut = new ScilabDouble([false,true]); this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"TIME_f\",sz(1),sz(2));"]); - this.x = standard_define([2,2],this.model,[],this.gr_i); + this.x = new standard_define(new ScilabDouble([2,2]),this.model,[],this.gr_i); return new BasicBlock(this.x); } TIME_f.prototype.details = function TIME_f() { -- cgit