diff --git a/SequenceDiagram.xcworkspace/contents.xcworkspacedata b/SequenceDiagram.xcworkspace/contents.xcworkspacedata
index e000973..313cd59 100644
--- a/SequenceDiagram.xcworkspace/contents.xcworkspacedata
+++ b/SequenceDiagram.xcworkspace/contents.xcworkspacedata
@@ -10,9 +10,6 @@
-
-
diff --git a/bin/server.js b/bin/server.js
index 36a28f0..5666f01 100755
--- a/bin/server.js
+++ b/bin/server.js
@@ -46,9 +46,9 @@ statics
.addResources('/', BASEDIR, [
'index.html',
'library.htm',
- 'styles',
'lib',
- 'weblib',
+ 'web/lib',
+ 'web/styles',
'favicon.png',
'apple-touch-icon.png',
], devMapper);
@@ -57,7 +57,7 @@ if(DEV) {
statics.addResources('/', BASEDIR, [
'node_modules/requirejs/require.js',
'scripts',
- 'web',
+ 'web/scripts',
]);
statics.setFileWatch(true);
}
diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md
index d04bf39..81f7794 100644
--- a/docs/CONTRIBUTING.md
+++ b/docs/CONTRIBUTING.md
@@ -68,7 +68,7 @@ The available commands are:
* `npm run lint`: runs the linter against all source and test files
* `npm run minify`: runs the `minify-lib` and `minify-web` commands
* `npm run minify-lib`: minifies the library code in `/lib`
-* `npm run minify-web`: minifies the web code in `/weblib`
+* `npm run minify-web`: minifies the web code in `/web/lib`
## Project Structure
@@ -93,8 +93,7 @@ The high-level structure is:
Useful helpers can also be found in `/scripts/core/*` and
`/scripts/svg/*`.
-The live editor (index.htm) uses the source in `/web/editor.mjs` and
-`/web/interface/*`.
+The live editor (index.htm) uses the sources in `/web/scripts/`.
## Testing
@@ -157,7 +156,7 @@ minified library (this is preferred but not required):
npm run minify;
```
-This will update the files in `/lib` and `/weblib`. The minified code
+This will update the files in `/lib` and `/web/lib`. The minified code
is a self-contained copy of the `/scripts/sequence/SequenceDiagram.mjs`
script, with some boiler-plate added to allow loading into a page in a
variety of ways.
diff --git a/index.html b/index.html
index 35956ef..52c1ce0 100644
--- a/index.html
+++ b/index.html
@@ -31,7 +31,7 @@
crossorigin="anonymous"
>
-
+
-
+
/DEV -->
@@ -78,7 +78,7 @@
integrity="sha256-0SGl1PJNDyJwcV5T+weg2zpEMrh7xvlwO4oXgvZCeZk="
crossorigin="anonymous"
>
-
+
diff --git a/library.htm b/library.htm
index 71da1cc..5932d5f 100644
--- a/library.htm
+++ b/library.htm
@@ -25,7 +25,7 @@
integrity="sha256-I8NyGs4wjbMuBSUE40o55W6k6P7tu/7G28/JGUUYCIs="
crossorigin="anonymous"
>
-
+