No longer need separate iro-transparency-plugin, now part of the core.

This commit is contained in:
Joachim Bauch 2021-11-11 11:33:59 +01:00
parent 8662ac996d
commit cedc54a6b8
No known key found for this signature in database
GPG key ID: 77C1D22D53E15F02
3 changed files with 0 additions and 14 deletions

11
package-lock.json generated
View file

@ -9,7 +9,6 @@
"version": "0.1.0",
"dependencies": {
"@jaames/iro": "5.5.2",
"iro-transparency-plugin": "1.0.2",
"jquery": "3.5.0",
"paper": "0.12.15",
"pdfjs-dist": "2.0.943",
@ -2608,11 +2607,6 @@
"node": ">= 0.10"
}
},
"node_modules/iro-transparency-plugin": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/iro-transparency-plugin/-/iro-transparency-plugin-1.0.2.tgz",
"integrity": "sha512-DBxSURdgW2fYL0K7x56y6C3Pu3eTIoXyE/oadUZEwRD5JrPyhKXlTOkJNFizdteYaZ79RyOpHk7LNaIhG1kwAw=="
},
"node_modules/is-accessor-descriptor": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",
@ -7344,11 +7338,6 @@
"integrity": "sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw==",
"dev": true
},
"iro-transparency-plugin": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/iro-transparency-plugin/-/iro-transparency-plugin-1.0.2.tgz",
"integrity": "sha512-DBxSURdgW2fYL0K7x56y6C3Pu3eTIoXyE/oadUZEwRD5JrPyhKXlTOkJNFizdteYaZ79RyOpHk7LNaIhG1kwAw=="
},
"is-accessor-descriptor": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",

View file

@ -10,7 +10,6 @@
},
"dependencies": {
"@jaames/iro": "5.5.2",
"iro-transparency-plugin": "1.0.2",
"jquery": "3.5.0",
"paper": "0.12.15",
"pdfjs-dist": "2.0.943",

View file

@ -23,7 +23,6 @@
import $ from 'jquery';
import io from 'socket.io-client';
import iro from '@jaames/iro';
import iroTransparencyPlugin from 'iro-transparency-plugin';
import paper from 'paper';
import { pdfjsLib } from 'pdfjs-dist';
import { PDFViewerApplication, PDFViewerApplicationOptions } from 'pdfjs-dist-viewer-min';
@ -767,7 +766,6 @@ function Annotator(socketurl, id, userid, displayname, token) {
this.socket.on('disconnect', this.onDisconnect.bind(this));
this.socket.on('reconnect', this.onReconnected.bind(this));
iro.use(iroTransparencyPlugin);
this.colorPicker = new iro.ColorPicker("#colorPicker", {
width: 320,
height: 320,