1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-12-21 21:29:17 +00:00

forgot gif.js in dist

This commit is contained in:
Steven Hugg 2020-12-08 10:32:46 -06:00
parent fc05a6eaec
commit 74ab935e1b
7 changed files with 13 additions and 4 deletions

View File

@ -15,6 +15,7 @@ all:
cp node_modules/localforage/dist/localforage.min.js ./lib/ cp node_modules/localforage/dist/localforage.min.js ./lib/
cp node_modules/jszip/dist/jszip.min.js ./lib/ cp node_modules/jszip/dist/jszip.min.js ./lib/
cp node_modules/file-saver/dist/*.min.js ./lib/ cp node_modules/file-saver/dist/*.min.js ./lib/
cp gif.js/dist/* ./lib/
cd jsnes && npm i cd jsnes && npm i
$(TSC) -v $(TSC) -v
$(TSC) $(TSC)

View File

@ -613,8 +613,8 @@ $( ".dropdown-submenu" ).click(function(event) {
<!-- Sentry error reporting --> <!-- Sentry error reporting -->
<script <script
src="https://browser.sentry-cdn.com/5.27.2/bundle.min.js" src="https://browser.sentry-cdn.com/5.29.0/bundle.min.js"
integrity="sha384-+69fdGw+g5z0JJXjw46U9Ls/d9Y4Zi6KUlCcub+qIWsUoIlyimCujtv+EnTTHPTD" integrity="sha384-/dYT/04VSU9ItKRPTkWeVZ0kqRsVh/T/5rNCjzBwpx7sYeeueKgJzGMNXSal3xoo"
crossorigin="anonymous" crossorigin="anonymous"
></script> ></script>
<script> <script>

3
lib/gif.js Normal file

File diff suppressed because one or more lines are too long

1
lib/gif.js.map Normal file

File diff suppressed because one or more lines are too long

3
lib/gif.worker.js Normal file

File diff suppressed because one or more lines are too long

1
lib/gif.worker.js.map Normal file

File diff suppressed because one or more lines are too long

View File

@ -1479,7 +1479,7 @@ function setWaitProgress(prog : number) {
var recordingVideo = false; var recordingVideo = false;
function _recordVideo() { function _recordVideo() {
if (recordingVideo) return; if (recordingVideo) return;
loadScript("gif.js/dist/gif.js").then( () => { loadScript("lib/gif.js").then( () => {
var canvas = $("#emulator").find("canvas")[0] as HTMLElement; var canvas = $("#emulator").find("canvas")[0] as HTMLElement;
if (!canvas) { if (!canvas) {
alertError("Could not find canvas element to record video!"); alertError("Could not find canvas element to record video!");
@ -1493,7 +1493,7 @@ function _recordVideo() {
rotate = 1; rotate = 1;
} }
var gif = new GIF({ var gif = new GIF({
workerScript: 'gif.js/dist/gif.worker.js', workerScript: 'lib/gif.worker.js',
workers: 4, workers: 4,
quality: 10, quality: 10,
rotate: rotate rotate: rotate