mirror of https://github.com/status-im/codimd.git
Finish public note view js loading
This commit is contained in:
parent
5355da0960
commit
53b5cbb893
|
@ -0,0 +1,60 @@
|
|||
/* include jquery ui */
|
||||
require('jquery-ui/ui/widgets/resizable');
|
||||
require('jquery-ui/ui/widgets/tooltip');
|
||||
require('jquery-ui/ui/widgets/controlgroup');
|
||||
require('jquery-ui/ui/widgets/autocomplete');
|
||||
|
||||
/* jquery and jquery plugins */
|
||||
require('jquery');
|
||||
require('jquery-textcomplete');
|
||||
require('jquery-mousewheel');
|
||||
require('../vendor/jquery-scrollspy');
|
||||
require('../vendor/showup/showup');
|
||||
|
||||
/* bootstrap */
|
||||
require('bootstrap');
|
||||
require('bootstrap/dist/css/bootstrap.css');
|
||||
|
||||
require('prismjs/themes/prism.css');
|
||||
require('highlight.js/styles/github-gist.css');
|
||||
|
||||
require('markdown-it');
|
||||
require('markdown-it-abbr');
|
||||
require('markdown-it-footnote');
|
||||
require('markdown-it-deflist');
|
||||
require('markdown-it-mark');
|
||||
require('markdown-it-ins');
|
||||
require('markdown-it-sub');
|
||||
require('markdown-it-sup');
|
||||
require('markdown-it-container');
|
||||
require('markdown-it-mathjax');
|
||||
require('markdown-it-regexp');
|
||||
require('markdown-it-imsize');
|
||||
|
||||
/* other vendors plugin */
|
||||
require('gist-embed');
|
||||
require('string');
|
||||
require('highlight.js');
|
||||
require('prismjs');
|
||||
require('prismjs/components/prism-wiki');
|
||||
require('js-cookie');
|
||||
require('to-markdown');
|
||||
|
||||
require('raphael');
|
||||
require('js-sequence-diagrams');
|
||||
|
||||
require('flowchart.js');
|
||||
require('viz.js');
|
||||
require('file-saver');
|
||||
require('store');
|
||||
require('js-url');
|
||||
require('visibilityjs');
|
||||
require('list.js');
|
||||
require('../vendor/md-toc');
|
||||
require('randomcolor');
|
||||
|
||||
require('./syncscroll');
|
||||
require('./extra');
|
||||
require('./history');
|
||||
require('./pretty');
|
||||
require('./render');
|
|
@ -23,21 +23,19 @@
|
|||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/ionicons/2.0.1/css/ionicons.min.css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/octicons/3.5.0/octicons.min.css">
|
||||
<% } else { %>
|
||||
<link rel="stylesheet" href='<%- url %>/vendor/bootstrap/dist/css/bootstrap.min.css'>
|
||||
<link rel="stylesheet" href='<%- url %>/vendor/font-awesome/css/font-awesome.min.css'>
|
||||
<link rel="stylesheet" href="<%- url %>/vendor/Ionicons/css/ionicons.min.css">
|
||||
<link rel="stylesheet" href="<%- url %>/vendor/octicons/octicons/octicons.css">
|
||||
<% } %>
|
||||
<link rel="stylesheet" href='<%- url %>/css/github-extract.css'>
|
||||
<link rel="stylesheet" href='<%- url %>/css/gist.css'>
|
||||
<link rel="stylesheet" href='<%- url %>/vendor/highlightjs/styles/github-gist.css'>
|
||||
<link rel="stylesheet" href="<%- url %>/vendor/prism/themes/prism.css">
|
||||
<link rel="stylesheet" href="<%- url %>/css/mermaid.css">
|
||||
<link rel="stylesheet" href='<%- url %>/css/markdown.css'>
|
||||
<link rel="stylesheet" href='<%- url %>/vendor/emojify/css/emojify.min.css'>
|
||||
<link rel="stylesheet" href='<%- url %>/css/extra.css'>
|
||||
<link rel="stylesheet" href="<%- url %>/css/slide-preview.css">
|
||||
<link rel="stylesheet" href='<%- url %>/css/site.css'>
|
||||
<link rel="stylesheet" href='<%- url %>/build/app.css'>
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
|
@ -93,44 +91,14 @@
|
|||
<script src="https://cdnjs.cloudflare.com/ajax/libs/mermaid/6.0.0/mermaid.min.js" defer></script>
|
||||
<% } else { %>
|
||||
<script src="<%- url %>/vendor/jquery/dist/jquery.min.js"></script>
|
||||
<script src="<%- url %>/vendor/bootstrap/dist/js/bootstrap.min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/js-yaml/dist/js-yaml.min.js" defer></script>
|
||||
<script type="text/javascript" src="<%- url %>/vendor/MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML" defer></script>
|
||||
<script src="<%- url %>/vendor/moment/min/moment-with-locales.js" defer></script>
|
||||
<script src="<%- url %>/vendor/mermaid/dist/mermaid.min.js" defer></script>
|
||||
<% } %>
|
||||
<script src="<%- url %>/vendor/lz-string/libs/lz-string.min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/xss/dist/xss.min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/markdown-it/dist/markdown-it.min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/markdown-it-abbr/dist/markdown-it-abbr.min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/markdown-it-footnote/dist/markdown-it-footnote.min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/markdown-it-deflist/dist/markdown-it-deflist.min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/markdown-it-mark/dist/markdown-it-mark.min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/markdown-it-ins/dist/markdown-it-ins.min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/markdown-it-sub/dist/markdown-it-sub.min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/markdown-it-sup/dist/markdown-it-sup.min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/markdown-it-container/dist/markdown-it-container.min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/markdown-it-mathjax.js" defer></script>
|
||||
<script src="<%- url %>/vendor/markdown-it-regexp.js" defer></script>
|
||||
<script src="<%- url %>/vendor/markdown-it-imsize.js" defer></script>
|
||||
<script src="<%- url %>/vendor/gist-embed/gist-embed.min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/string/dist/string.min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/highlightjs/highlight.pack.min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/prism/prism.js" defer></script>
|
||||
<script src="<%- url %>/vendor/prism/components/prism-wiki.min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/js-cookie/src/js.cookie.js" defer></script>
|
||||
<script src="<%- url %>/vendor/emojify/js/emojify.min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/raphael/raphael.min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/lodash/dist/lodash.min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/sequence-diagrams/sequence-diagram-min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/flowchart/release/flowchart.min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/viz.js/viz.js" defer></script>
|
||||
<script src="<%- url %>/vendor/pdfobject/pdfobject.min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/md-toc.js" defer></script>
|
||||
<script src="<%- url %>/js/common.js" defer></script>
|
||||
<script src="<%- url %>/js/extra.js" defer></script>
|
||||
<script src="<%- url %>/js/render.js" defer></script>
|
||||
<script src="<%- url %>/vendor/lz-string.min.js" defer></script>
|
||||
<script src="<%- url %>/vendor/xss.min.js" defer></script>
|
||||
<script src="<%- url %>/js/reveal-markdown.js" defer></script>
|
||||
<script src="<%- url %>/js/pretty.js" defer></script>
|
||||
<script src="<%- url %>/build/public.js" defer></script>
|
||||
|
||||
<%- include ga %>
|
|
@ -25,7 +25,8 @@ module.exports = {
|
|||
],
|
||||
|
||||
entry: {
|
||||
app: path.join(__dirname, 'public/js/app.js')
|
||||
app: path.join(__dirname, 'public/js/app.js'),
|
||||
public: path.join(__dirname, 'public/js/public.js')
|
||||
},
|
||||
|
||||
output: {
|
||||
|
|
Loading…
Reference in New Issue