Skip to content

Commit

Permalink
Merge pull request #25 from alexrudd2/third-party-package
Browse files Browse the repository at this point in the history
Remove third-party-packages (and worker-loader)
  • Loading branch information
alexrudd2 authored Nov 3, 2023
2 parents 3b962da + fdf98dc commit 1354ba3
Show file tree
Hide file tree
Showing 44 changed files with 348 additions and 23,845 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,10 @@
"base64image-to-file": "^1.2.0",
"bresenham-js": "^0.0.0",
"chaikin-smooth": "^1.0.4",
"cncserver": "file:./third-party-packages/cncserver",
"cncserver": "^2.9.0",
"concurrently": "^5.0.0",
"fs-jetpack": "^2.2.3",
"gif.js.optimized": "^1.0.1",
"hull.js": "^1.0.0",
"lodash": "^4.17.15",
"node-fetch": "^3.0.0",
Expand Down Expand Up @@ -143,7 +144,6 @@
"webpack-cli": "^5.0.0",
"webpack-dev-middleware": "^6.0.0",
"webpack-dev-server": "^4.0.0",
"webpack-hot-middleware": "^2.25.0",
"worker-loader": "^3.0.0"
"webpack-hot-middleware": "^2.25.0"
}
}
6 changes: 3 additions & 3 deletions src/components/GifmakerContent/GifmakerContent.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* global GIF */
import React from 'react';
import { ipcRenderer } from 'electron';
import _ from 'lodash';
import { connect } from 'react-redux';
import GIF from 'gif.js.optimized';
import {
// setFrames,
// setGifmakerLoading,
Expand Down Expand Up @@ -70,8 +70,8 @@ class GifmakerContent extends React.Component {
quality: gifQuality,
width: gifWidth,
height: gifHeight,
repeat: 0,
workerScript: './gifjs/gif.worker.js'
workerScript: 'gif.worker.worker.js',
repeat: 0
});
images.forEach((img) => {
const elem = document.createElement('img');
Expand Down
2 changes: 0 additions & 2 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
<meta charset="UTF-8" />
<title>lineboi3000</title>
<span id="test"></span>
<script src="./gifjs/gif.js"></script>
<script src="./gifjs/gif.worker.js"></script>
</head>

<body>
Expand Down
22 changes: 0 additions & 22 deletions third-party-packages/cncserver/.gitignore

This file was deleted.

70 changes: 0 additions & 70 deletions third-party-packages/cncserver/.jshintrc

This file was deleted.

23 changes: 0 additions & 23 deletions third-party-packages/cncserver/.travis.yml

This file was deleted.

Loading

0 comments on commit 1354ba3

Please sign in to comment.