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