Skip to content

Commit

Permalink
Merge pull request #10 from Kollkas/pull-240806
Browse files Browse the repository at this point in the history
Node.js, Webpack, Buffer package, modulize, and more
  • Loading branch information
Kollkas authored Aug 6, 2024
2 parents 6aeb11d + 9fe8ced commit c3b1a75
Show file tree
Hide file tree
Showing 28 changed files with 7,187 additions and 2,900 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/.vscode
.vscode/
node_modules/
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

85 changes: 0 additions & 85 deletions README.md

This file was deleted.

1 change: 1 addition & 0 deletions docs/CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fork.uyanide.com
6 changes: 3 additions & 3 deletions DefaultArguments.json → docs/DefaultArguments.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"maxSize": 4000,
"defaultPageId": "decodePage",
"defaultSrc": [
"resources/default.png",
"resources/neko.jpg",
"resources/buta.jpg"
"./res/default.png",
"./res/neko.jpg",
"./res/buta.jpg"
]
}
File renamed without changes.
File renamed without changes.
20 changes: 6 additions & 14 deletions index.html → docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
var PrismProcessor = PrismProcessor || {};
</script>
<script>
applicationState.version = '1.4.9';
applicationState.version = '1.4.10';
// version check
(() => {
console.log('target version:', applicationState.version);
Expand Down Expand Up @@ -71,6 +71,7 @@
'DefaultArguments',
'PrismDecoder',
'PrismEncoder',
'ImageLoader',
'DecodeListeners',
'EncodeListeners',
'UniversalListeners',
Expand All @@ -97,25 +98,16 @@
gtag('config', 'G-43TMHBXPHM');
</script>

<link rel="icon" href="resources/neko.ico" type="image/x-icon">
<link rel="icon" href="res/neko.ico" type="image/x-icon">

<title>光棱坦克工厂</title>

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="styles/style.css">
<link rel="stylesheet" type="text/css" href="styles/switch.css">
<script src="scripts/lib/encoder.js" defer></script>
<script src="scripts/lib/piexif.js" defer></script>
<script src="scripts/lib/png-metadata.js" defer data-version></script>
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/switch.css">
<script id="jsonPath" data-json-path="DefaultArguments.json" defer></script>
<script src="scripts/DefaultArguments.js" defer data-version></script>
<script src="scripts/prismProcessor/PrismDecoder.js" defer data-version></script>
<script src="scripts/prismProcessor/PrismEncoder.js" defer data-version></script>
<script src="scripts/listeners/DecodeListeners.js" defer data-version></script>
<script src="scripts/listeners/EncodeListeners.js" defer data-version></script>
<script src="scripts/listeners/UniversalListeners.js" defer data-version></script>
<script src="scripts/init.js" defer data-version></script>
<script src="src/main.js" defer data-version></script>
</head>

<body>
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
2 changes: 2 additions & 0 deletions docs/src/main.js

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions docs/src/main.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/

/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */

/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
Loading

0 comments on commit c3b1a75

Please sign in to comment.