1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2026-04-19 08:27:40 +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
+1
View File
@@ -15,6 +15,7 @@ all:
cp node_modules/localforage/dist/localforage.min.js ./lib/
cp node_modules/jszip/dist/jszip.min.js ./lib/
cp node_modules/file-saver/dist/*.min.js ./lib/
cp gif.js/dist/* ./lib/
cd jsnes && npm i
$(TSC) -v
$(TSC)
+2 -2
View File
@@ -613,8 +613,8 @@ $( ".dropdown-submenu" ).click(function(event) {
<!-- Sentry error reporting -->
<script
src="https://browser.sentry-cdn.com/5.27.2/bundle.min.js"
integrity="sha384-+69fdGw+g5z0JJXjw46U9Ls/d9Y4Zi6KUlCcub+qIWsUoIlyimCujtv+EnTTHPTD"
src="https://browser.sentry-cdn.com/5.29.0/bundle.min.js"
integrity="sha384-/dYT/04VSU9ItKRPTkWeVZ0kqRsVh/T/5rNCjzBwpx7sYeeueKgJzGMNXSal3xoo"
crossorigin="anonymous"
></script>
<script>
+3
View File
File diff suppressed because one or more lines are too long
+1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -1479,7 +1479,7 @@ function setWaitProgress(prog : number) {
var recordingVideo = false;
function _recordVideo() {
if (recordingVideo) return;
loadScript("gif.js/dist/gif.js").then( () => {
loadScript("lib/gif.js").then( () => {
var canvas = $("#emulator").find("canvas")[0] as HTMLElement;
if (!canvas) {
alertError("Could not find canvas element to record video!");
@@ -1493,7 +1493,7 @@ function _recordVideo() {
rotate = 1;
}
var gif = new GIF({
workerScript: 'gif.js/dist/gif.worker.js',
workerScript: 'lib/gif.worker.js',
workers: 4,
quality: 10,
rotate: rotate