To add some more order to the folder, move the JS files into their own src folder. --- package.json | 2 +- spice.html | 1 - spice_auto.html | 2 +- atKeynames.js => src/atKeynames.js | 0 bitmap.js => src/bitmap.js | 0 cursor.js => src/cursor.js | 0 display.js => src/display.js | 0 enums.js => src/enums.js | 0 filexfer.js => src/filexfer.js | 0 inputs.js => src/inputs.js | 0 lz.js => src/lz.js | 0 main.js => src/main.js | 0 playback.js => src/playback.js | 0 png.js => src/png.js | 0 port.js => src/port.js | 0 quic.js => src/quic.js | 0 resize.js => src/resize.js | 0 simulatecursor.js => src/simulatecursor.js | 0 spicearraybuffer.js => src/spicearraybuffer.js | 0 spiceconn.js => src/spiceconn.js | 0 spicedataview.js => src/spicedataview.js | 0 spicemsg.js => src/spicemsg.js | 0 spicetype.js => src/spicetype.js | 0 .../thirdparty}/browser-es-module-loader/.npmignore | 0 .../thirdparty}/browser-es-module-loader/README.md | 0 .../thirdparty}/browser-es-module-loader/dist/babel-worker.js | 0 .../browser-es-module-loader/dist/browser-es-module-loader.js | 0 .../dist/browser-es-module-loader.js.map | 0 .../thirdparty}/browser-es-module-loader/rollup.config.js | 0 .../thirdparty}/browser-es-module-loader/src/babel-worker.js | 0 .../browser-es-module-loader/src/browser-es-module-loader.js | 0 {thirdparty => src/thirdparty}/jsbn.js | 0 {thirdparty => src/thirdparty}/prng4.js | 0 {thirdparty => src/thirdparty}/rng.js | 0 {thirdparty => src/thirdparty}/rsa.js | 0 {thirdparty => src/thirdparty}/sha1.js | 0 ticket.js => src/ticket.js | 0 utils.js => src/utils.js | 0 webm.js => src/webm.js | 0 wire.js => src/wire.js | 0 40 files changed, 2 insertions(+), 3 deletions(-) rename atKeynames.js => src/atKeynames.js (100%) rename bitmap.js => src/bitmap.js (100%) rename cursor.js => src/cursor.js (100%) rename display.js => src/display.js (100%) rename enums.js => src/enums.js (100%) rename filexfer.js => src/filexfer.js (100%) rename inputs.js => src/inputs.js (100%) rename lz.js => src/lz.js (100%) rename main.js => src/main.js (100%) rename playback.js => src/playback.js (100%) rename png.js => src/png.js (100%) rename port.js => src/port.js (100%) rename quic.js => src/quic.js (100%) rename resize.js => src/resize.js (100%) rename simulatecursor.js => src/simulatecursor.js (100%) rename spicearraybuffer.js => src/spicearraybuffer.js (100%) rename spiceconn.js => src/spiceconn.js (100%) rename spicedataview.js => src/spicedataview.js (100%) rename spicemsg.js => src/spicemsg.js (100%) rename spicetype.js => src/spicetype.js (100%) rename {thirdparty => src/thirdparty}/browser-es-module-loader/.npmignore (100%) rename {thirdparty => src/thirdparty}/browser-es-module-loader/README.md (100%) rename {thirdparty => src/thirdparty}/browser-es-module-loader/dist/babel-worker.js (100%) rename {thirdparty => src/thirdparty}/browser-es-module-loader/dist/browser-es-module-loader.js (100%) rename {thirdparty => src/thirdparty}/browser-es-module-loader/dist/browser-es-module-loader.js.map (100%) rename {thirdparty => src/thirdparty}/browser-es-module-loader/rollup.config.js (100%) rename {thirdparty => src/thirdparty}/browser-es-module-loader/src/babel-worker.js (100%) rename {thirdparty => src/thirdparty}/browser-es-module-loader/src/browser-es-module-loader.js (100%) rename {thirdparty => src/thirdparty}/jsbn.js (100%) rename {thirdparty => src/thirdparty}/prng4.js (100%) rename {thirdparty => src/thirdparty}/rng.js (100%) rename {thirdparty => src/thirdparty}/rsa.js (100%) rename {thirdparty => src/thirdparty}/sha1.js (100%) rename ticket.js => src/ticket.js (100%) rename utils.js => src/utils.js (100%) rename webm.js => src/webm.js (100%) rename wire.js => src/wire.js (100%) diff --git a/package.json b/package.json index 21a8b63..c77a0e8 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "spice-html5", "version": "0.1.8", "description": "Spice Javascript client", - "main": "main.js", + "main": "src/main.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, diff --git a/spice.html b/spice.html index e88348e..b789398 100644 --- a/spice.html +++ b/spice.html @@ -45,7 +45,6 @@ </script> <script type="module" crossorigin="anonymous"> - import * as SpiceHtml5 from './main.js'; var host = null, port = null; var sc; diff --git a/spice_auto.html b/spice_auto.html index 364d58b..08db248 100644 --- a/spice_auto.html +++ b/spice_auto.html @@ -45,7 +45,7 @@ </script> <script type="module" crossorigin="anonymous"> - import * as SpiceHtml5 from './main.js'; + import * as SpiceHtml5 from './src/main.js'; var host = null, port = null; var sc; diff --git a/atKeynames.js b/src/atKeynames.js similarity index 100% rename from atKeynames.js rename to src/atKeynames.js diff --git a/bitmap.js b/src/bitmap.js similarity index 100% rename from bitmap.js rename to src/bitmap.js diff --git a/cursor.js b/src/cursor.js similarity index 100% rename from cursor.js rename to src/cursor.js diff --git a/display.js b/src/display.js similarity index 100% rename from display.js rename to src/display.js diff --git a/enums.js b/src/enums.js similarity index 100% rename from enums.js rename to src/enums.js diff --git a/filexfer.js b/src/filexfer.js similarity index 100% rename from filexfer.js rename to src/filexfer.js diff --git a/inputs.js b/src/inputs.js similarity index 100% rename from inputs.js rename to src/inputs.js diff --git a/lz.js b/src/lz.js similarity index 100% rename from lz.js rename to src/lz.js diff --git a/main.js b/src/main.js similarity index 100% rename from main.js rename to src/main.js diff --git a/playback.js b/src/playback.js similarity index 100% rename from playback.js rename to src/playback.js diff --git a/png.js b/src/png.js similarity index 100% rename from png.js rename to src/png.js diff --git a/port.js b/src/port.js similarity index 100% rename from port.js rename to src/port.js diff --git a/quic.js b/src/quic.js similarity index 100% rename from quic.js rename to src/quic.js diff --git a/resize.js b/src/resize.js similarity index 100% rename from resize.js rename to src/resize.js diff --git a/simulatecursor.js b/src/simulatecursor.js similarity index 100% rename from simulatecursor.js rename to src/simulatecursor.js diff --git a/spicearraybuffer.js b/src/spicearraybuffer.js similarity index 100% rename from spicearraybuffer.js rename to src/spicearraybuffer.js diff --git a/spiceconn.js b/src/spiceconn.js similarity index 100% rename from spiceconn.js rename to src/spiceconn.js diff --git a/spicedataview.js b/src/spicedataview.js similarity index 100% rename from spicedataview.js rename to src/spicedataview.js diff --git a/spicemsg.js b/src/spicemsg.js similarity index 100% rename from spicemsg.js rename to src/spicemsg.js diff --git a/spicetype.js b/src/spicetype.js similarity index 100% rename from spicetype.js rename to src/spicetype.js diff --git a/thirdparty/browser-es-module-loader/.npmignore b/src/thirdparty/browser-es-module-loader/.npmignore similarity index 100% rename from thirdparty/browser-es-module-loader/.npmignore rename to src/thirdparty/browser-es-module-loader/.npmignore diff --git a/thirdparty/browser-es-module-loader/README.md b/src/thirdparty/browser-es-module-loader/README.md similarity index 100% rename from thirdparty/browser-es-module-loader/README.md rename to src/thirdparty/browser-es-module-loader/README.md diff --git a/thirdparty/browser-es-module-loader/dist/babel-worker.js b/src/thirdparty/browser-es-module-loader/dist/babel-worker.js similarity index 100% rename from thirdparty/browser-es-module-loader/dist/babel-worker.js rename to src/thirdparty/browser-es-module-loader/dist/babel-worker.js diff --git a/thirdparty/browser-es-module-loader/dist/browser-es-module-loader.js b/src/thirdparty/browser-es-module-loader/dist/browser-es-module-loader.js similarity index 100% rename from thirdparty/browser-es-module-loader/dist/browser-es-module-loader.js rename to src/thirdparty/browser-es-module-loader/dist/browser-es-module-loader.js diff --git a/thirdparty/browser-es-module-loader/dist/browser-es-module-loader.js.map b/src/thirdparty/browser-es-module-loader/dist/browser-es-module-loader.js.map similarity index 100% rename from thirdparty/browser-es-module-loader/dist/browser-es-module-loader.js.map rename to src/thirdparty/browser-es-module-loader/dist/browser-es-module-loader.js.map diff --git a/thirdparty/browser-es-module-loader/rollup.config.js b/src/thirdparty/browser-es-module-loader/rollup.config.js similarity index 100% rename from thirdparty/browser-es-module-loader/rollup.config.js rename to src/thirdparty/browser-es-module-loader/rollup.config.js diff --git a/thirdparty/browser-es-module-loader/src/babel-worker.js b/src/thirdparty/browser-es-module-loader/src/babel-worker.js similarity index 100% rename from thirdparty/browser-es-module-loader/src/babel-worker.js rename to src/thirdparty/browser-es-module-loader/src/babel-worker.js diff --git a/thirdparty/browser-es-module-loader/src/browser-es-module-loader.js b/src/thirdparty/browser-es-module-loader/src/browser-es-module-loader.js similarity index 100% rename from thirdparty/browser-es-module-loader/src/browser-es-module-loader.js rename to src/thirdparty/browser-es-module-loader/src/browser-es-module-loader.js diff --git a/thirdparty/jsbn.js b/src/thirdparty/jsbn.js similarity index 100% rename from thirdparty/jsbn.js rename to src/thirdparty/jsbn.js diff --git a/thirdparty/prng4.js b/src/thirdparty/prng4.js similarity index 100% rename from thirdparty/prng4.js rename to src/thirdparty/prng4.js diff --git a/thirdparty/rng.js b/src/thirdparty/rng.js similarity index 100% rename from thirdparty/rng.js rename to src/thirdparty/rng.js diff --git a/thirdparty/rsa.js b/src/thirdparty/rsa.js similarity index 100% rename from thirdparty/rsa.js rename to src/thirdparty/rsa.js diff --git a/thirdparty/sha1.js b/src/thirdparty/sha1.js similarity index 100% rename from thirdparty/sha1.js rename to src/thirdparty/sha1.js diff --git a/ticket.js b/src/ticket.js similarity index 100% rename from ticket.js rename to src/ticket.js diff --git a/utils.js b/src/utils.js similarity index 100% rename from utils.js rename to src/utils.js diff --git a/webm.js b/src/webm.js similarity index 100% rename from webm.js rename to src/webm.js diff --git a/wire.js b/src/wire.js similarity index 100% rename from wire.js rename to src/wire.js -- 2.19.2 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel