From 7c70459c10aed0d74ee03896abaf47fefdbf7c8f Mon Sep 17 00:00:00 2001
From: Sunil Shetye
Date: Mon, 25 Jun 2018 12:08:56 +0530
Subject: separate out code for getvalue

---
 js/Electrical/MOTOR.js | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

(limited to 'js/Electrical/MOTOR.js')

diff --git a/js/Electrical/MOTOR.js b/js/Electrical/MOTOR.js
index bc9cff54..f0622cc9 100644
--- a/js/Electrical/MOTOR.js
+++ b/js/Electrical/MOTOR.js
@@ -1,23 +1,23 @@
 /* autogenerated from "macros/Electrical/MOTOR.sci" */
 function MOTOR() {
     MOTOR.prototype.define = function MOTOR() {
-model=scicos_model();
-model.out=[[1],[1]];
-model.in1=[1];
-model.sim="motor";
-model.blocktype="c";
-model.dep_ut=[true,false];
-gr_i=[];
-exprs="";
-x=standard_define([2,2],model,exprs,gr_i);
-x.graphics.out_implicit=[["I"],["I"]];
-x.graphics.in_implicit=["I"];
+        model = scicos_model();
+        model.out = [[1],[1]];
+        model.in1 = [1];
+        model.sim = "motor";
+        model.blocktype = "c";
+        model.dep_ut = [true,false];
+        gr_i = [];
+        exprs = "";
+        x = standard_define([2,2],model,exprs,gr_i);
+        x.graphics.out_implicit = [["I"],["I"]];
+        x.graphics.in_implicit = ["I"];
     }
     MOTOR.prototype.details = function MOTOR() {
     }
     MOTOR.prototype.get = function MOTOR() {
     }
     MOTOR.prototype.set = function MOTOR() {
-x=arg1;
+        x = arg1;
     }
 }
-- 
cgit