summaryrefslogtreecommitdiff
path: root/views/script/gui.js
diff options
context:
space:
mode:
authorSaloniGoyal2016-05-28 12:07:46 +0530
committerSaloniGoyal2016-05-28 12:07:46 +0530
commit228f8ac592c781a208cf2d222f5fd663406daccf (patch)
treed305dda7eaf38117517c3ec661e81126a29668ab /views/script/gui.js
parent580e62658e53c4059626de70377954862fc84a00 (diff)
downloadeSimWebApp-228f8ac592c781a208cf2d222f5fd663406daccf.tar.gz
eSimWebApp-228f8ac592c781a208cf2d222f5fd663406daccf.tar.bz2
eSimWebApp-228f8ac592c781a208cf2d222f5fd663406daccf.zip
Using socket.io storing and deleting the temp netlist
Diffstat (limited to 'views/script/gui.js')
-rw-r--r--views/script/gui.js11
1 files changed, 3 insertions, 8 deletions
diff --git a/views/script/gui.js b/views/script/gui.js
index e7325ae..4ba11b0 100644
--- a/views/script/gui.js
+++ b/views/script/gui.js
@@ -696,18 +696,13 @@ jQuery("#analysis_selectbox").change(function(){
change_val = "0";
Flag = "";
//console.log("out")
- console.log(globalVariable+" gv\n");
-
-console.log(globalVariable+" gv1\n");
-console.log(Flag+"1 s\n");
if (change_val == "0")
{
Flag = jQuery("#webtronics_netlist_text_area").val();
- console.log(Flag+"11s\n");
/*-------------------------------------------------------------------------------------------------------------------------------------
Here are the conditions concatenated to give final netlist values for dc all cases
---------------------------------------------------------------------------------------------------------------------------------------------*/
@@ -742,14 +737,14 @@ Here are the all Transiet Cases for generating final netlist values
change_val = "1";
}
-console.log(Flag+"2\n");
+ socket.emit('netlist', jQuery("#webtronics_netlist_text_area").val());
}
else if( change_val == "1")
{
- console.log(Flag+"as\n");
+
jQuery("#webtronics_netlist_text_area").val("");
//console.log("if when 1")
@@ -778,7 +773,7 @@ else if( change_val == "1")
change_val = "1";
}
- console.log(Flag+"as\n");
+ socket.emit('netlist', jQuery("#webtronics_netlist_text_area").val());
}