mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
refactor: replace with files in node_modules
This commit is contained in:
@@ -140,7 +140,7 @@ export default class MarkdownPreview extends React.Component {
|
|||||||
|
|
||||||
this.refs.root.contentWindow.document.head.innerHTML = `
|
this.refs.root.contentWindow.document.head.innerHTML = `
|
||||||
<style id='style'></style>
|
<style id='style'></style>
|
||||||
<link rel="stylesheet" href="${appPath}/compiled/katex-style.css">
|
<link rel="stylesheet" href="${appPath}/node_modules/katex/dist/katex.min.css">
|
||||||
<link rel="stylesheet" href="${appPath}/node_modules/codemirror/lib/codemirror.css">
|
<link rel="stylesheet" href="${appPath}/node_modules/codemirror/lib/codemirror.css">
|
||||||
<link rel="stylesheet" id="codeTheme">
|
<link rel="stylesheet" id="codeTheme">
|
||||||
`
|
`
|
||||||
|
|||||||
@@ -33,14 +33,14 @@
|
|||||||
<script src="../node_modules/codemirror/keymap/sublime.js"></script>
|
<script src="../node_modules/codemirror/keymap/sublime.js"></script>
|
||||||
<script src="../node_modules/codemirror/addon/runmode/runmode.js"></script>
|
<script src="../node_modules/codemirror/addon/runmode/runmode.js"></script>
|
||||||
|
|
||||||
<script src="../compiled/raphael.js"></script>
|
<script src="../node_modules/raphael/raphael.min.js"></script>
|
||||||
<script src="../compiled/flowchart.js"></script>
|
<script src="../compiled/flowchart.js"></script>
|
||||||
|
|
||||||
<script src="../compiled/katex.js"></script>
|
<script src="../node_modules/katex/dist/katex.min.js"></script>
|
||||||
<script src="../compiled/react.js"></script>
|
<script src="../node_modules/react/dist/react.min.js"></script>
|
||||||
<script src="../compiled/react-dom.js"></script>
|
<script src="../node_modules/react-dom/react-dom.min.js"></script>
|
||||||
<script src="../compiled/redux.js"></script>
|
<script src="../node_modules/redux/dist/redux.min.js"></script>
|
||||||
<script src="../compiled/react-redux.js"></script>
|
<script src="../node_modules/react-redux/dist/react-redux.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
window._ = require('lodash');
|
window._ = require('lodash');
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -61,18 +61,18 @@
|
|||||||
|
|
||||||
<script src="../node_modules/codemirror/addon/edit/continuelist.js"></script>
|
<script src="../node_modules/codemirror/addon/edit/continuelist.js"></script>
|
||||||
|
|
||||||
<script src="../compiled/raphael.js"></script>
|
<script src="../node_modules/raphael/raphael.min.js"></script>
|
||||||
<script src="../compiled/flowchart.js"></script>
|
<script src="../compiled/flowchart.js"></script>
|
||||||
<script>
|
<script>
|
||||||
window._ = require('lodash')
|
window._ = require('lodash')
|
||||||
</script>
|
</script>
|
||||||
<script src="../node_modules/js-sequence-diagrams/fucknpm/sequence-diagram-min.js"></script>
|
|
||||||
|
|
||||||
<script src="../compiled/katex.js"></script>
|
<script src="../node_modules/js-sequence-diagrams/fucknpm/sequence-diagram-min.js"></script>
|
||||||
<script src="../compiled/react.js"></script>
|
<script src="../node_modules/katex/dist/katex.min.js"></script>
|
||||||
<script src="../compiled/react-dom.js"></script>
|
<script src="../node_modules/react/dist/react.min.js"></script>
|
||||||
<script src="../compiled/redux.js"></script>
|
<script src="../node_modules/react-dom/react-dom.min.js"></script>
|
||||||
<script src="../compiled/react-redux.js"></script>
|
<script src="../node_modules/redux/dist/redux.min.js"></script>
|
||||||
|
<script src="../node_modules/react-redux/dist/react-redux.min.js"></script>
|
||||||
<script type='text/javascript'>
|
<script type='text/javascript'>
|
||||||
const electron = require('electron')
|
const electron = require('electron')
|
||||||
electron.webFrame.setZoomLevelLimits(1, 1)
|
electron.webFrame.setZoomLevelLimits(1, 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user