diff options
Diffstat (limited to 'js/Electrical/Resistor.js')
-rw-r--r-- | js/Electrical/Resistor.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/js/Electrical/Resistor.js b/js/Electrical/Resistor.js index d1afe3e9..c6435662 100644 --- a/js/Electrical/Resistor.js +++ b/js/Electrical/Resistor.js @@ -1,6 +1,6 @@ /* autogenerated from "macros/Electrical/Resistor.sci" */ function Resistor() { -Resistor.prototype.define = function Resistor() { + Resistor.prototype.define = function Resistor() { model=scicos_model(); R=0.01; model.rpar=R; @@ -20,12 +20,12 @@ gr_i=[]; x=standard_define([2,1],model,exprs,list(gr_i,0)); x.graphics.in_implicit=["I"]; x.graphics.out_implicit=["I"]; -} -Resistor.prototype.details = function Resistor() { -} -Resistor.prototype.get = function Resistor() { -} -Resistor.prototype.set = function Resistor() { + } + Resistor.prototype.details = function Resistor() { + } + Resistor.prototype.get = function Resistor() { + } + Resistor.prototype.set = function Resistor() { x=arg1; graphics=arg1.graphics; exprs=graphics.exprs; @@ -42,5 +42,5 @@ x.graphics=graphics; x.model=model; break; } -} + } } |