mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-10-12 06:23:42 +00:00
forgot gif.js in dist
This commit is contained in:
parent
fc05a6eaec
commit
74ab935e1b
1
Makefile
1
Makefile
@ -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)
|
||||
|
@ -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
lib/gif.js
Normal file
3
lib/gif.js
Normal file
File diff suppressed because one or more lines are too long
1
lib/gif.js.map
Normal file
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
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
1
lib/gif.worker.js.map
Normal file
File diff suppressed because one or more lines are too long
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user