diff options
author | Sunil Shetye | 2018-06-21 11:00:03 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-06-21 11:59:38 +0530 |
commit | 3f563b9e29d42266d6680229da5c29f847804834 (patch) | |
tree | 6c6a425d4e1c82db68fa7ecc0d5a71b3647f8990 /js/Electrical/CurrentSensor.js | |
parent | 7b0bf23e7d94df8f3406f5f64926b1131041ba35 (diff) | |
download | sci2js-3f563b9e29d42266d6680229da5c29f847804834.tar.gz sci2js-3f563b9e29d42266d6680229da5c29f847804834.tar.bz2 sci2js-3f563b9e29d42266d6680229da5c29f847804834.zip |
code cleanup
Diffstat (limited to 'js/Electrical/CurrentSensor.js')
-rw-r--r-- | js/Electrical/CurrentSensor.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/js/Electrical/CurrentSensor.js b/js/Electrical/CurrentSensor.js index 83e2e4ba..2d402e32 100644 --- a/js/Electrical/CurrentSensor.js +++ b/js/Electrical/CurrentSensor.js @@ -1,6 +1,6 @@ /* autogenerated from "macros/Electrical/CurrentSensor.sci" */ function CurrentSensor() { -CurrentSensor.prototype.define = function CurrentSensor() { + CurrentSensor.prototype.define = function CurrentSensor() { model=scicos_model(); model.in1=1; model.out=[[1],[1]]; @@ -17,12 +17,12 @@ gr_i=[]; x=standard_define([2,2],model,exprs,list(gr_i,0)); x.graphics.in_implicit=["I"]; x.graphics.out_implicit=[["I"],["E"]]; -} -CurrentSensor.prototype.details = function CurrentSensor() { -} -CurrentSensor.prototype.get = function CurrentSensor() { -} -CurrentSensor.prototype.set = function CurrentSensor() { + } + CurrentSensor.prototype.details = function CurrentSensor() { + } + CurrentSensor.prototype.get = function CurrentSensor() { + } + CurrentSensor.prototype.set = function CurrentSensor() { x=arg1; -} + } } |