Skip to content

Commit

Permalink
Webapp: move js libs
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinepouille committed Sep 24, 2024
1 parent ffefa43 commit b0f85de
Show file tree
Hide file tree
Showing 24 changed files with 20 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ SCRIPTSSOURCE = $(wildcard $(MANSCRIPTREP)*.sh)
SCRIPTSWITNESS = $(SCRIPTSSOURCE:.sh=.witness) $(MANGENREP)version.tex
MODELS = $(wildcard $(MANKAPPAMODELSREP)*.ka)

RESOURCES_HTML=$(wildcard gui/shared/*.js) $(wildcard gui/viz/*.js) $(wildcard gui/viz/*.css) gui/resources/favicon.ico gui/entry_point/package.json
RESOURCES_HTML=$(wildcard gui/js_lib/*.js) $(wildcard gui/js_lib/viz/*.js) $(wildcard gui/resources/*.css) gui/resources/favicon.ico gui/entry_point/package.json gui/entry_point/main.js

# `APP_EXT` defines where to fetch the js libs.
# `local` is to download them from the dev website e.g. github and saving them locally.
Expand Down
4 changes: 2 additions & 2 deletions core/simulation/dune
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
(targets resource_strings.ml)
(deps
../../dev/load_files_into_ocaml_string_vars.sh
../../gui/shared/flux.js
../../gui/viz/common.js)
../../gui/js_lib/flux.js
../../gui/js_lib/viz/common.js)
(action
(with-stdout-to
%{targets}
Expand Down
File renamed without changes.
9 changes: 9 additions & 0 deletions gui/js_lib/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
This directory contains javascript libraries.

`viz` contains js libs for vizualization from kappa tools.

`flux.js` is used by the webapp, and by the html generation in ./core/simulation

`graphlogger.js` by the webapp.

`parser.js` might be unused.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions gui/js_lib/viz/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
This directory contains js libs for vizualization from kappa tools.

Some files here are used in the webapp.

`common.js` is also included by the html generation in `core/simulation`

`Kappa.js` might be unused, and includes info for kappa language syntax highlighting.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions gui/resources/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Here are resources used to build the webapp
3 changes: 0 additions & 3 deletions gui/shared/README.md

This file was deleted.

0 comments on commit b0f85de

Please sign in to comment.