Browse Source

Removing markdown-it-emoji from index.html

pull/1/head
Dessalines 2 years ago
parent
commit
5efbd60c9f
  1. 3
      assets/libs/markdown-it-emoji/markdown-it-emoji.min.js
  2. 1
      package.json
  3. 1
      src/index.html
  4. 2
      src/utils.ts
  5. 5
      yarn.lock

3
assets/libs/markdown-it-emoji/markdown-it-emoji.min.js
File diff suppressed because it is too large
View File

1
package.json

@ -31,6 +31,7 @@
"jwt-decode": "^2.2.0",
"markdown-it": "^8.4.2",
"markdown-it-container": "^2.0.0",
"markdown-it-emoji": "^1.4.0",
"moment": "^2.24.0",
"rxjs": "^6.4.0",
"terser": "^3.17.0",

1
src/index.html

@ -9,7 +9,6 @@
<link rel="shortcut icon" type="image/svg+xml" href="/static/assets/favicon.svg" />
<link rel="apple-touch-icon" href="/static/assets/apple-touch-icon.png" />
<script async src="/static/assets/libs/sortable/sortable.min.js"></script>
<script src="/static/assets/libs/markdown-it-emoji/markdown-it-emoji.min.js" type="text/javascript"></script>
</head>
<body>

2
src/utils.ts

@ -9,7 +9,7 @@ import 'moment/locale/nl';
import { UserOperation, Comment, User, SortType, ListingType } from './interfaces';
import * as markdown_it from 'markdown-it';
declare var markdownitEmoji: any;
import * as markdownitEmoji from 'markdown-it-emoji/light';
import * as markdown_it_container from 'markdown-it-container';
import * as twemoji from 'twemoji';
import { twemojis } from './twemojis';

5
yarn.lock

@ -2001,6 +2001,11 @@ [email protected]^2.0.0:
resolved "https://registry.yarnpkg.com/markdown-it-container/-/markdown-it-container-2.0.0.tgz#0019b43fd02eefece2f1960a2895fba81a404695"
integrity sha1-ABm0P9Au7+zi8ZYKKJX7qBpARpU=
[email protected]^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/markdown-it-emoji/-/markdown-it-emoji-1.4.0.tgz#9bee0e9a990a963ba96df6980c4fddb05dfb4dcc"
integrity sha1-m+4OmpkKljupbfaYDE/dsF37Tcw=
[email protected]^8.4.2:
version "8.4.2"
resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-8.4.2.tgz#386f98998dc15a37722aa7722084f4020bdd9b54"

Loading…
Cancel
Save