summaryrefslogtreecommitdiff
path: root/views/script/savenetlist.js
diff options
context:
space:
mode:
authorSaloniGoyal2016-05-31 15:55:07 +0530
committerSaloniGoyal2016-05-31 15:55:07 +0530
commitd3d5a0c0e44d37bec5374c66efa99bd144a9fced (patch)
treeba3a8ce6a23cbd5c372fa406670da20d33b29af8 /views/script/savenetlist.js
parent228f8ac592c781a208cf2d222f5fd663406daccf (diff)
downloadeSimWebApp-d3d5a0c0e44d37bec5374c66efa99bd144a9fced.tar.gz
eSimWebApp-d3d5a0c0e44d37bec5374c66efa99bd144a9fced.tar.bz2
eSimWebApp-d3d5a0c0e44d37bec5374c66efa99bd144a9fced.zip
Run ngspice on the saved netlist
Diffstat (limited to 'views/script/savenetlist.js')
-rw-r--r--views/script/savenetlist.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/script/savenetlist.js b/views/script/savenetlist.js
index bdabcfd..33898bb 100644
--- a/views/script/savenetlist.js
+++ b/views/script/savenetlist.js
@@ -5,11 +5,14 @@ For Simulation of Netlist and Removal of netlist Window
------------------------------------------------------------------------------------------------------------------------------------------------*/
jQuery("#webtronics_netlist_simulate").click(function(){
+ socket.emit('netlist', jQuery("#webtronics_netlist_text_area").val());
console.log("simulation button clicked");
jQuery('#webtronics_netlist_text_div').hide();
jQuery('#webtronics_netlist_buttons').hide();
jQuery('#webtronics_netlist_text').hide();
jQuery('#webtronics_disable').hide();
+
+