Browse Source

Fix webapp not loading after youtube embed was removed in #1079

pull/1084/head
Gabe Kangas 4 years ago
parent
commit
e994412f4b
  1. 5
      build/javascript/package-lock.json
  2. 2
      webroot/js/components/chat/chat.js
  3. 1
      webroot/js/web_modules/import-map.json

5
build/javascript/package-lock.json generated

@ -105,11 +105,6 @@ @@ -105,11 +105,6 @@
"twemoji": "^13.0.0"
}
},
"@justinribeiro/lite-youtube": {
"version": "0.9.1",
"resolved": "https://registry.npmjs.org/@justinribeiro/lite-youtube/-/lite-youtube-0.9.1.tgz",
"integrity": "sha512-IgcpHnovzZGxU4Ec+0c7sSLhrJWflvYliQUmdcwBgyVkGw0ZL9Y8IU/m09NPk9EzIk2HAOWUGLywTVpB785egA=="
},
"@nodelib/fs.scandir": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz",

2
webroot/js/components/chat/chat.js

@ -2,8 +2,6 @@ import { h, Component, createRef } from '/js/web_modules/preact.js'; @@ -2,8 +2,6 @@ import { h, Component, createRef } from '/js/web_modules/preact.js';
import htm from '/js/web_modules/htm.js';
const html = htm.bind(h);
import '/js/web_modules/@justinribeiro/lite-youtube.js';
import Message from './message.js';
import ChatInput from './chat-input.js';
import { CALLBACKS, SOCKET_MESSAGE_TYPES } from '../../utils/websocket.js';

1
webroot/js/web_modules/import-map.json vendored

@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
{
"imports": {
"@joeattardi/emoji-button": "./@joeattardi/emoji-button.js",
"@justinribeiro/lite-youtube": "./@justinribeiro/lite-youtube.js",
"@videojs/http-streaming/dist/videojs-http-streaming.min.js": "./@videojs/http-streaming/dist/videojs-http-streaming.min.js",
"@videojs/themes/fantasy/index.css": "./@videojs/themes/fantasy/index.css",
"htm": "./htm.js",

Loading…
Cancel
Save