Ashutosh-ops / circuithmg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Step 2 - Work with JavaScript

This folder contains the source code of the Circuit Simulator for Web2Executable program.

The files in this folder were compiled from https://github.com/sharpie7/circuitjs1 with additional files from the Java folder of this repository.

If you want to compile this code yourself, you should consider the following:

In the compiled file 0612D584F56E34298E38D85B0ECA5BD5.cache.js (the name of the file may be another) find $wnd.location.href and you need to change:

g=aCb($wnd.location.href,'\\\\?',0);

to

g=aCb('http://www.falstad.com/circuit/circuitjs.html','\\\\?',0);

or

g=aCb('http://lushprojects.com/circuitjs/circuitjs.html','\\\\?',0);

This code is responsible for the function "Export As Link" in the menu.

Take care that a file with a name similar to 0612D584F56E34298E38D85B0ECA5BD5.cache.js is compiled for safari. This can be viewed in compilation-mappings.txt. Other files with a similar name can be deleted - the NW.JS shell does not read them.

About

License:GNU General Public License v2.0


Languages

Language:HTML 60.2%Language:CSS 34.6%Language:JavaScript 5.1%Language:Python 0.0%