Browse Source

Stop using skypack CDN for emoji button and bump version. Address #141

pull/204/head
Gabe Kangas 6 years ago
parent
commit
ec9f8ba004
  1. 2
      webroot/index.html
  2. 2
      webroot/js/components/chat/chat-input.js

2
webroot/index.html

@ -42,7 +42,7 @@ @@ -42,7 +42,7 @@
<link href="./styles/app.css" rel="stylesheet" />
<!-- Preloads -->
<link rel="preconnect" href="https://cdn.skypack.dev/pin/@joeattardi/emoji-button@v4.1.0-v8psdkkxts3LNdpA0m5Q/min/@joeattardi/emoji-button.js" />
<link rel="preconnect" href="https://unpkg.com/@joeattardi/emoji-button@4.2.0/dist/index.js" />
<link rel="preconnect" href="https://unpkg.com/preact?module" />
<link rel="preconnect" href="https://unpkg.com/htm?module" />

2
webroot/js/components/chat/chat-input.js

@ -2,7 +2,7 @@ import { h, Component, createRef } from 'https://unpkg.com/preact?module'; @@ -2,7 +2,7 @@ import { h, Component, createRef } from 'https://unpkg.com/preact?module';
import htm from 'https://unpkg.com/htm?module';
const html = htm.bind(h);
import { EmojiButton } from 'https://cdn.skypack.dev/pin/@joeattardi/emoji-button@v4.1.0-v8psdkkxts3LNdpA0m5Q/min/@joeattardi/emoji-button.js';
import { EmojiButton } from 'https://unpkg.com/@joeattardi/emoji-button@4.2.0/dist/index.js';
import ContentEditable, { replaceCaret } from './content-editable.js';
import { generatePlaceholderText, getCaretPosition, convertToText, convertOnPaste } from '../../utils/chat.js';
import { getLocalStorage, setLocalStorage, classNames } from '../../utils/helpers.js';

Loading…
Cancel
Save